HTML heading can be defined as a title or a subtitle of the page that we want to display on the webpage.
When we place the content within the heading tags <h1>Content goes here</h1>, it is displayed on the browser in the bold format and the size of the text depends on the number of headings.
we have six various form of HTML headings which are defined with the <h1> to <h6> tags, from highest level h1 (title heading/ main heading) to the least level h6 (least important heading).
H1 is the largest heading tag and H6 is the smallest one. So h1 is mostly used for Title of the pages or paragraph heading and h6 is used for least important.