HomeReferencesHTML Tags

HTML Tag: h1, h2, h3, h4, h5, and h6

Heading 1 to Heading 6 (1 being the highest level, 6 being the lowest). Headings should be used in order and h1 used just once.

HTML Dog, The Book HTML Dog book cover

HTML Dog is hosted by Titan Internet

Required Attributes

  • None.

Optional Attributes

Example


<h1>The main heading</h1>
<h2>A subheading</h2>
<p>ra ra ra ra ra</p>
<h2>Another subheading</h2>