next up previous contents
Next: Paragraphs Up: Basic HTML Programming 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@cs.cf.ac.uk