font-variant: small-caps;

  • IE
  • Cr
  • Sf
  • Fx
  • O

The font-variant property specifies a small-caps font.

p {
font-variant: small-caps;

Property Value Explanation
font-variant small-caps small-caps font
normal normal font (default)

When the small-caps value is specified, the lowercase letters is displayed in small uppercase.


<title>TAG index</title>

<style type="text/css">

#example { font-variant: small-caps; }



<p>TAG index html TAG</p>
<p id="example">TAG index html TAG</p>



TAG index html TAG

TAG index html TAG