.

Saturday, March 27, 2010

Headings

Posted by devlevis | Saturday, March 27, 2010 | Category: , , , , |

HTML supports six levels of headings. Each heading uses a large, usually bold
character-formatting style to identify itself as a heading. The following HTML
example produces the output shown in Figure.








<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd"> <html>
<body>
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
<p>Plain body text:The quick brown fox jumped over the lazy dog.</p>
</body>
</html>

The six levels begin with Level 1, highest, most important, and go to Level 6, the
lowest, least important. Although there are six predefined levels of headings, you
probably will only find yourself using three or four levels in your documents. Also,
because there is no limit on being able to use specific levels, you can pick and
choose which levels you use—you don’t have to use

and

in order to be
able to use

. Also, keep in mind that you can tailor the formatting imposed by
each level by using styles.

Currently have 0 comments:


Leave a Reply