Headings:
Heading are
used to display different type of headings. “<Hn>”
is the opening tag of headings and the closing tag is “</Hn>” where “n” is
the size of the heading. Its value is from 1 to 6. 1 represents the largest size and 6 represents the
smallest size.
HTML headings are titles or captions that you need
to show on a site page.
Example:
compose and
html code that show the heading on a page
<HTML>
<BODY>
<h1> Heading 2</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
</HTML>
</BODY>
Save file
with “heading.html”
Double click
the file. The page will open as follows:
Comments
Post a Comment
Please do not enter any spam link in the comment box