Monday, February 14, 2011

HTML Font Codes

For HTML Font color use below codes
<font color="font color"> ie9 </font>
Here you can write color name directly like;
<font color="green"> ie9 </font>
You can pick exact html color codes or the codes you see in Adobe Photoshop.
<font color="#FF6969"> ie9 </font>

For html font size code use below codes
<font size="3">firefox</font>

For other formatting like bold, italic, underline etc use below codes;
<b>nokia</b> Bold
<i>samsung</i> Italics
<u>ericson</u>  Underline
<s>motorola</s> Strike-through
<tt>handset</tt>  Teletype
<sup>M2</sup>  Superscript
<sub>M3</sub> Subscript

For html font styles use below codes;
<font face="times new roman">Lee </font>

No comments:

Post a Comment