when to use different headings html code example
Example 1: html headings
<h1>I'm the biggest heading</h1>
<h2>I'm smaller than h1</h2>
<h3>I'm smaller than h2</h3>
<h4>I'm smaller than h3</h4>
<h5>I'm smaller than h4</h5>
<h6>I'm the smallest heading</h6>
Example 2: how to write heading tag tag in html
<h1>Biggest<h1>
<h2>Pretty Big<h2>
<h3>Medium<h3>
<h4>Pretty Small<h4>
<h5>Very Small<h5>
<h6>Smallest<h6>