1. Home
  2. Computing & Technology
  3. Web Design / HTML

Font Variants

Examples of the font-variant CSS Style Property

Below are samples of text set at different font-variants. Not all font families have a small caps variant, and other fonts may simply display the small caps as all caps rather than true small caps. So, be sure to test your pages before you publish them.

This text is "normal".
The quick brown fox jumped over the lazy dog.

font-variant: normal;

This text is "small caps".
The quick brown fox jumped over the lazy dog.

font-variant: small-caps;

Use small caps in text to define acronyms like nasa or 9pm so that they don't take as much emphasis away from the surrounding text.

Explore Web Design / HTML

More from About.com

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
  4. About.com Web Design A to Z
  5. Examples
  6. Font Variants Examples

©2008 About.com, a part of The New York Times Company.

All rights reserved.