font-variant : font variant : Text Tags HTML CSS TUTORIALS


HTML CSS TUTORIALS » Text Tags » font variant »

 

font-variant


 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<html>
<title>css </title>
<style type="text/css">
h1 {
    font-family: Georgia, Times, serif;
    font-size: 24px;
    font-variant: small-caps;
}


</style>
</head>
<body>
<h1>header 1</h1>
<h2>hader 2</h2>
<p>before<strong>strong</strong>after.</p>
</body>
</html>

 



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo Text Tags
» font variant