Computer >> Computer tutorials >  >> Programming >> Javascript

Usage of font-variant property in CSS


The font-variant property is used to create a small-caps effect. Possible values are normal and small-caps.

<html>
   <head>
   </head>
   <body>
      <p style = "font-variant:small-caps;">
         This text will be rendered as small caps
      </p>
   </body>
</html>