h5

The h5 HTML element represents a heading for the section with which it is associated.

Syntax

HTML

<h5 attribute-name="attribute-value"></h5>

Attributes

Global

CSS

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

Examples

CSS

Internal

h1

h2

h3

h4

h6

External

Web Hypertext Application Technology Working Group (WHATWG)

Home Menu