HTML

Home

Tutorials

Go to tag:

 

Name

H1 - H6

Description

Defines heading text.  There are 6 heading tags (from largest to smallest): H1, H2, H3, H4, H5 and H6.

Attributes

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>

Generates

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6
© Martin Allen 1999 - 2017.  Last updated Friday 29 December 2017 21:50 +0000.