Headings
Last update on: 05-14-2008Headings are used to add titles to sections of a page. HTML defines six levels of headings. Heading tags look like the following:
<h1>10 Security Enhancements</h1>
The numbers indicate heading levels (H1 through H6). The headings, when they're displayed, aren't numbered. They're displayed in larger or bolder text, are centered or underlined, or are capitalizedso that they stand out from regular text.
Unlike titles, headings can be any length, spanning many lines of text. Because headings are emphasized, however, having many lines of emphasized text might be tiring to read.
Don't use headings to display text in boldface type or to make certain parts of your page stand out more. Although the result might look cool in your browser, you don't know what it'll look like when other people use their browsers to read your page. Other browsers might number headings or format them in a manner that you don't expect.
Basics of HTML's lessons:
Structuring Your HTMLThe Title
Headings
Paragraphs
Lists
Comments
Tags Summary

