HTML Encyclopaedia

The h2 tag

The HTML element
<h2> text </h2>
causes the text to be displayed as a level 2 heading. This is a bold, large font but smaller than a level 1 heading. The text will be displayed left justified (i.e.flush against the left margin) with no indentation. There will be one or two clear lines above and beneath.

This is <h2> style


See also <h1>, <h3>, <h4>, <h5>, <h6> and general notes on headings