HTML 5: The Markup Language

h2heading (level 2) # T

The h1 through h6 elements are headings for the sections with which they are associated.

Content model #

Attribute model #

Assertions #

Tag omission #

An h2 element must have both a start tag and an end tag.

Permitted contexts #

Typical default display properties #

h2 {
display: block;
font-size: 1.5em;
margin: .83em 0 .83em 0;
font-weight: bold; }