Extensible HyperText Markup Language

XHTML.com recommends: PSD to HTML Slicing Service

font-variant

Definition

The font-variant specifies if the font should be rendered as small capitals.

Example

  1. h2 {font-variant: small-caps}

Characteristics

Possible values

normal
The font should not be rendered as small capital letters.
small-caps
The font should be rendered as small capital letters.
inherit
Use the same computed value as the parent element for this property.

Default value

normal

Applies to

All elements

Inherited

Yes

See also