HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

h2

Description

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

Syntax

HTML

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

Attributes

Global

CSS

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

Examples

1 · CSS