IN.gov - Skip Navigation

Note: This message is displayed if (1) your browser is not standards-compliant or (2) you have you disabled CSS. Read our Policies for more information.

State of Indiana

WebCMS Training > HTML Tutorial > Headings Headings

Headings are used to organize content and should not be used to make text big or bold; also, heading tags add a margin before and after the text making them impractical for simple text formatting.  Search engines use headings to index the structure and content of a web page.

Heading sizes begin with h1, being the biggest, and end with h6, being the smallest.

Examples



<html>
<body>
<h1> This is heading 1 </h1>
<h2> This is heading 2 </h2>
<h3> This is heading 3 </h3>
<h4> This is heading 4 </h4>
<h5> This is heading 5 </h5>
<h6> This is heading 6 </h6>
</body>
</html>