'font-face' Example : font face « CSS Attributes and Javascript Style Properties « HTML CSS Reference






'font-face' Example

    
<head>
<style type="text/css">
@font-face { font-family: Lucida; 
             font-style: normal; 
             font-weight: normal; 
             src: url("fontFile.eot")
           }
</style>
</head>
<body>
<p style="font-family: Lucida"> Paragraph text </p>
</body>
</html>

    
      
      








Related examples in the same category

1.'font-face' Syntax and Note