h4
h4 is an HTML element used to define the fourth-level heading in a document. It is part of the heading elements h1 through h6, which provide a hierarchical structure for content. An h4 is typically used to introduce subsections that fall under an h3 heading and may themselves contain further subheadings such as h5 and h6.
By default, browsers render h4 as bold text with a font size smaller than h1 through h3
The heading elements contribute to a page’s accessibility by enabling assistive technologies to construct a navigable
Usage tips include not using h4 solely for styling; rely on semantic structure first and apply CSS