Thanks for visiting IT-arama

This site proudly sponsored by:
Contact us here
Other ITarama affiliates:
ITarama recommends:
Firefox 2

HTML Headings

The next thing you will learn are headings. The H1 heading is the largest heading available using HTML. It looks like this:

This is heading size 1 using the H1 tags

The markup used to write it looks like this: <h1>This is heading size 1 using the H1 tags</h1>

Heading 2 using the H2 tags

(Note: this Heading is underlined because all the h2 headings are styled that way on this site using CSS.)

Markup: <h2>Heading 2 using the H2 tags</h2>

Heading 3 using the H3 tags

Markup: <h3>Heading 3 using the H3 tags</h3>

Heading 4 using the H4 tags

Markup: <h4>Heading 4 using the H4 tags</h4>
Heading 5 using the H5 tags
Markup: <h5>Heading 5 using the H5 tags</h5>
Heading 6 using the H6 tags
Markup: <h6>Heading 6 using the H6 tags</h6>

The headings are shown actual size. The default alignment is left justified. If you want center or right justified headings use the align="center" or align="right" attributes respectively. Yes it is that easy.

© 2000 - 2010 by 985 computing LLC
ITarama - The home of short sweet Web tutorials