
In HTML, the <h1> to <h6> tags are used to represent headings of different sizes. The <h1> tag represents the largest and most important heading, while the <h6> tag represents the smallest and least important heading.
Here is an example of how the heading tag works in an HTML document
<h1>This is a level 1 heading</h1>
<h2>This is a level 2 heading</h2>
<h3>This is a level 3 heading</h3>
<h4>This is a level 4 heading</h4>
<h5>This is a level 5 heading</h5>
<h6>This is a level 6 heading</h6>
Comments
Join the discussionNo comments yet. Be the first to comment.
Interview-HTML
In this series I will try to answer questions of HTML interviews in most simplest fashion. This will give user the chance of understanding the interview question of HTML in a conceptual manner.


