Monday, 7 November 2011

Select Font Family in CSS

The font-family property sets the font family.
Example :
Code

<p style="font-family:Arial;font-size:20px;">
This is arial font
</p>

<p style="font-family:'Times New Roman';font-size:20px;">
This is Times New Roman font
</p>

<p style="font-family:Verdana;font-size:20px;">
This is Verdana font
</p>

<p style="font-family:'Monotype Corsiva';font-size:20px;">
This is Monotype Corsiva font
</p>

ffcode
Result
ffdesign

No comments:

Post a Comment