next up previous
Next: Paragraphs Up: Basic HTML Coding Previous: The Body Element

Headings

Example of HTML headings:

<html>
<head>
<title> HTML Heading Levels 
</title>
</head>


<body>
<h1> This is a level 1 heading </h1>

<p>
This is not a heading. It is a paragraph.
</p>
<h2> This is a level 2 heading </h2>
<h3> This is a level 3 heading </h3>
<h4> This is a level 4 heading </h4>
<h5> This is a level 5 heading </h5>
<h6> This is a level 6 heading </h6>
</body>
</html>

Which Looks like this when viewed through a browser:


Figure:HTML Heading Levels



Dave Marshall
9/28/2001