( Doctype html declaration )
<!Doctype html>
( Head tag declaration )
<head>
( Title tag declaration )
<title>This Is Page Title</title>
</head>
( body tag declaration )
<body>
( Heading1 to Heading6 tag)
<h1>This is heading 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>
<h4>This is heading 4</h4>
<h5>This is heading 5</h5>
<h6>This is heading 6</h6>
( Paragraph tag )
<p>this is paragraph text</p>
( Horizontal line tag )
<hr>
( Bold text )
<b>this is bold text</b>
( comment tag )
<!-- This is a comment -->
</body>
</html>
Program Output -
This is heading 1
This is heading 2
This is heading 3
This is heading 4
This is heading 5
This is heading 6
this is paragraph text
this is bold text
0 Comments
Post a Comment