Thursday, November 7, 2013

Tips on how to Install This new Font in a Few Simple steps in a Web page


// Tips on how to Install This new Font in a Few Simple steps in a Web page

<html>
<head>
<style> 

@font-face
{
font-family: myFirstFont;
src: url(sansation_light.woff);
}

div
{
font-family:myFirstFont;
}
</style>
</head>
<body>

<div>
With CSS3, websites can finally use fonts other than the pre-selected "web-safe" fonts.
</div>

<p><b>Note:</b> Internet Explorer 8 and earlier, do not support the @font-face rule.</p>

</body>
</html>

4 comments:

Unknown said...
This comment has been removed by the author.
Unknown said...

thank u sir....for explaining so clarely

Unknown said...

for explaining so clarely

Unknown said...

Thankyou sir, for new font steps....