Description:

The <h1> to <h6> tags are used to define HTML headings.

<h1> defines the largest heading and <h6> defines the smallest heading. As the number in the headline decreases, the character becomes thinner and smaller, but its proportion varies depending on the browser. In order to specify this size and appearance it is necessary to use css properties.

Example Code:
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
Result:
Attributes:

None

Global Attributes:

The <h4> tag also supports the Global Attributes in HTML5

Event Attributes:

The <h4> tag also supports the Event Attributes in HTML5



Last updated on 2 August 2018 By Rene Spronk

View All HTML Tags

Errors? Please help to keep this list up to date, If you find any errors, please contact us, so that we can get them fixed.