MYCSCODE

Learn Free Web Tutorials.

Home
×
HTML CSS JAVASCRIPT PHP
Click on HTML to See the Content of the Tutorial. Previous

What is HTML?

HTML is the standard markup language for creating Web pages.

A Simple HTML Document

Example

<!DOCTYPE html>

<html>

<head>

<title>Page Title</title>

</head>

<body>

<h1>My First Heading</h1>

<p>My first paragraph.</p>

</body>

</html>


Example Explained


HTML Tags

HTML tags are element names surrounded by angle brackets:

<tagname>content goes here...</tagname>

Tip:

The start tag is also called the opening tag, and the end tag the closing tag.


Web Browsers

The purpose of a web browser (Chrome, IE, Firefox, Safari) is to read HTML documents and display them.


The <!DOCTYPE> Declaration


Next