[ Sommario di HTML ] [ Introduzione ad HTML ]

4.1 Section Headings

HTML allows for six levels of headings, marked by the labels H1, H2... H6. There is no forced hierarchy in these headings, but for consistency you should use the top level (H1) for main headings, and lower levels for progressively less important ones. In general hypertext documents should be broken up so that each page does not occupy much more than a single screen. In these cases you can use the H1 heading to mark the main document heading, and the others to mark subheadings.

The following examples show the HTML coding for the six heading types, along with the results (note that the results will vary from viewer to viewer)

<H1> Heading type H1 </H1>

Heading type H1


<H2> Heading type H2 </H2>

Heading type H2


<H3> Heading type H3 </H3>

Heading type H3


<H4> Heading type H4 </H4>

Heading type H4


<H5> Heading type H5 </H5>
Heading type H5

<H6> Heading type H6 </H6>
Heading type H6

Creative Commons License
Questa opera รจ pubblicata sotto una Licenza Creative Commons.