This HTML tutorial contains hundreds of HTML examples.
With our online HTML editor, you can edit the HTML, and click on a button to view the result.
<!-- Starting html Documents -->
<!DOCTYPE html>
<!-- html Start -->
<html>
<!-- head Start -->
<head>
<!-- Type your own Title -->
<title> Html Lesson#1 Title</title>
<!-- head end -->
</head>
<!-- body Start -->
<body>
<!-- heading Start in body -->
<h1>This is a Heading</h1>
<!-- Paragraph Start -->
<p>This is a paragraph.</p>
<!-- html body end -->
</body>
<!-- html End -->
</html>
Example Explained
- The
<!DOCTYPE html>
declaration defines this document to be HTML5. - The
<html>
element is the root element of an HTML page. - The
<head>
element contains meta information about the document. - The
<title>
element specifies a title for the document. - The
<body>
element contains the visible page content. - The
<h1>
element defines a large heading. - The
<p>
element defines a paragraph.
Comments
Post a Comment