The html heading tag provides the outline of the text used in the text document. The headings are specified by <h1> to <h6> body> tags. The tags between <h1> are <h2>, <h3>, <h4>, <h5>, which can be used to display the headings in a sequentially larger size. For example - <body> <h1> heading 1 <h1> <h2> heading 2 <h2> </body> is coded in this way.