Home Menu

sub

The sub HTML element represents a subscript.

Syntax

HTML

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

Attributes

Global

CSS

sub {
    font-size: smaller;
    vertical-align: sub;
}

Examples

CSS

Web Hypertext Application Technology Working Group (WHATWG)

JesusBible
HTMLCSSJSPHPSVGMore
AboutTerms