HTML: The Markup Language

h5heading # T

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

Permitted content #

Permitted attributes #

Additional constraints and admonitions #

Tag omission #

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

Permitted parent elements #

any element that can contain flow elements, hgroup

DOM interface #

interface HTMLHeadingElement : HTMLElement {};

Typical default display properties #

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