The font Property

Example Code


<!-- Codes by HTMLmagics -->
<p style="font:italic small-caps bold 18px/24px Garamond, Georgia, Times, Serif;width:200px;">This amazing piece of text is using font code to set its font properties. As you can see, the font property can set everything from font-variant to line-height, from font-family to font-style.</p>
<p><a  style="font-size:11px;color:#999;" href="http://www.htmlmagics.blogspot.com/text/font-code.cfm">HTML font codes</a></p>



Result

This amazing piece of text is using font code to set its font properties. As you can see, the font property can set everything from font-variant to line-height, from font-family to font-style.

HTML font codes