Text

h1-h6

Tags h1, h2, h3, h4, h5 and h6 define headers. The highest level header is h1 and the lowest is h6. Notice that the default size can be changed but it doesn't change the level. Headers should be used in order and h1 only once per page.

Syntax

<h1 attributes> ... </h1>

Example

<h1>Header level 1</h1>
<h2>Header level 2</h3>
<h3>Header level 3</h3>
<h4>Header level 4</h4>
<h5>Header level 5</h5>
<h6>Header level 6</h6>

Related tags

CSS Properties

HTML attributes

Search the Soup!