The <h1>, <h2>, <h3>, <h4>, <h5>, and <h6> elements are used to specify headings in a document. The <h1> tag produces the largest heading, while each successive number is slightly smaller than the previous. Here is a table showing the default heading sizes:


HTML Output
<h1>Hello World</h1>
Hello World
<h2>Hello World</h2>
Hello World
<h3>Hello World</h3>
Hello World
<h4>Hello World</h4>
Hello World
<h5>Hello World</h5>
Hello World
<h6>Hello World</h6>
Hello World

External Links

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.