From Where the Learning begins...

HTML Heading

(If this article you will learn to give HTML Heading in your Webpage)

HTML supports six different levels of headings. The highest-level header format is <H1> and the lowest level is <H6>. All the styles appear in BOLDFACE and the size of the heading depends on the level chosen, i.e. <H1> to H6>. As the number next to <H>(1,2,....) increases, the font size actually decreases.

Example of an HTML Heading Program

First HTML Heading Code:-

<HTML>
<HEAD>
<TITLE>HTML Heading</TITLE>
</HEAD>
<BODY>
<H1>Heading no. 1</H1> 
<H2>Heading no. 2</H2> 
<H3>Heading no. 3</H3> 
<H4>Heading no. 4</H4> 
<H5>Heading no. 5</H5> 
<H6>Heading no. 6</H6> 
</BODY>
</HTML>

Quick Links

More

Social Media