HTML and CSS Reference
In-Depth Information
text. Levels one and two are larger still and often are a bit overbearing.
Choose a level of heading that you find useful and attractive and use
that level consistently throughout your documents. Too big and it over-
whelms the display window; too small and it's easily missed visually.
Once you have established the top-level heading for your document, use
additional headings at the same or lower levels throughout to add struc-
ture and "scanability" to the document. If you use a level-three heading
for the document title, for example, break your document into subsec-
tions using level-four headings. If you have the urge to subdivide your
text further, consider using a level-two heading for the title, level three
for the section dividers, and level four for the subsections.
4.2.3. Using Headings for Smaller Text
For most graphical browsers, the fonts used to display <h1> , <h2> , and
<h3> headers are larger, <h4> is the same, and <h5> and <h6> are smal-
ler than the regular text size. Authors typically use the latter two sizes
for boilerplate text, such as a disclaimer or a copyright notice. Though
style rules ought to be used instead, some authors use headers for their
smaller text to format tables of contents or home pages that display
a site's contents. Experiment with <h5> and <h6> to get the effect you
want. Figure 4-5 shows how a typical browser renders the copyright ref-
erence in the following sample XHTML segment:
resulting in years of successful kumquat production
throughout North America.
<h6>This document copyright 2007 by the Kumquat Growers of
America. All rights reserved.</h6>
Search WWH ::

Custom Search