Extensible HyperText Markup Language

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

XStandard XHTML WYSIWYG editor
A standards-compliant WYSIWYG editor component for content management applications. The editor generates valid XHTML and uses CSS for formatting. Free version is available.

Check out XStandard