Skip to content
HTML.ONE
Home HTML Elements

HTML <h2> Element

Represents a level 2 section heading. Choose heading levels according to document hierarchy, not visual size.

Example

<h2>Section heading</h2>

Further reference

HTML Living Standard

Live preview