Name

<h1> through <h6> — NN: 2, 3, 4 - MSIE: 2, 3, 4, 5 - HTML 4 - WebTV - Opera3

Synopsis

                        <h
                        n
                        >...</h
                        n
                        >
                     

Specifies that the enclosed text is a heading. There are six different levels of headings, from <h1> to <h6>, with each subsequent level displaying at a smaller size. <h5> and <h6> usually display smaller than the surrounding body text.

Attributes

align=center|left|right

Used to align the header left, right, or centered on the page. Microsoft Internet Explorer 3.0 and earlier do not support right alignment.

Get Web Design in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.