HOME
            About US
            Contact Us
            Fun Games

Head in HTML
Head in HTMLHead in HTML

2.1- Headings:    


In this chapter various HTML commands / tags are explained in detail. However, you do not require all the tags to design a web page. The required once are to be used in judicial manner. All most all the commands explained in this part of the book are written between the <body> and </body> tag.

Chapter - 2 : Heading, Paragraph, Division & Class

2.1- Headings: This tag is used to define the various ‘headings' of your web page. Any text defined through ‘heading tag' appears in bold letters on a separate line. Heading is very important in web page format. HTML headings are defined from <h1> to <h6> tags. The size of heading decreases from h1 to h6. The main heading should preferably in <h1> tag and balance headings of the page may be as per your requirement. The headings are displayed in ‘Bold' and search engine recognizes it separately. The Headings are very important for ‘Search Engines'.

<h1>Heading</h1>
<h2>Heading</h2> ....... Up to <h6>Heading</h6>

Command: <h1>Heading 1</h1>
Output: Heading 1


Command: <h5>Heading 5</h5>
Output: Heading 5

On screen it will always start from a fresh line and after this browser will consider an automatic line break. This occupies the complete line and nothing else appears in that line.
© funandhobby.com (Head in HTML)