CKTIS / HTML
h5 — fifth-level heading
The h5 element represents a heading with a base level of 5. Use it to label a deeply nested part of a document, not to select a text size.
Version: WHATWG HTML Living Standard; index snapshot date recorded separately
Syntax
<h5>Heading text</h5>h5 is a heading with a base level of 5, subordinate to h4 in the hierarchy; h6 represents the next, deeper level. Choose a heading according to content structure, not appearance.
An h5 may contain phrasing content, such as text with em. Do not put paragraphs or other headings inside it. Both its opening and closing tags are required in HTML. The element supports global attributes.
The example shows a hierarchy from h1 to h5. The Timeout heading is subordinate to Network. Nesting inside section alone does not change the base level given by the name h5.
Examples
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Heading hierarchy</title>
</head>
<body>
<h1>Manual</h1>
<h2>Installation</h2>
<h3>Configuration</h3>
<h4>Network</h4>
<h5>Timeout</h5>
<p>Wait for 30 seconds.</p>
</body>
</html>Result
Manual Installation Configuration Network Timeout Wait for 30 seconds.
The displayed code and declared result were verified in an isolated environment using the method recorded in the verification evidence for this exact version.