ⓘ h4 – heading # T
The
h1
through
h6
elements are headings for
the sections with which they are associated.
Additional constraints and admonitions #
-
The h4 element must not appear as a
descendant of the address element.
-
The align attribute on the h4 element is obsolete.
Use CSS instead.
Permitted parent elements #
any element that can contain
flow elements, hgroup
DOM interface #
interface HTMLHeadingElement : HTMLElement {};
Typical default display properties #
h4 {
display: block;
margin: 1.33em 0 1.33em 0;
font-weight: bold; }