H1 to h6 (HTML elements)

From Wiki @ Karl Jones dot com
Revision as of 12:50, 1 May 2016 by Karl Jones (Talk | contribs) (Examples)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

In HTML, the element h1 represent headings for their sections.

Description

The heading elements form a hierarchy.

h1 delimits the highest-level heading, h2 the next level down (sub-section), h3 for a level below that, and so on to h6.

Examples

<h1>This is Header One text.</h1>
<h2>Header Two (A)</h2>
<h3>Header Three (A)</h3>
<h2>Header Two (B)</h2>
<h3>Header Three (B)</h3>
<h3>Header Three (C)</h3>

See also

External links