Html Font Tutorial
According to World Wide Web Consortium (W3C), the tag in HTML is deprecated. It is removed in a from its recommendations.W3C encourage to use style sheets (CSS) to define the layout and display properties of HTML elements. However there still a lot of people using it, it still worth to mention a while here.
Font Size
<font size=1>Font Size</font>
| Size 1 |
| Size 2 |
| Size 3 |
| Size 4 |
| Size 5 |
| Size 6 |
Font Color
Usually we can change html font color in two ways
1) Use Color Name Red Color
<font color=red>Red Color</font>
2) Use Hex code (#) Red Color
<font color=#FF0000>Red Color</font>
Please check my Html Color Tutorial to find out more web color http://www.mkyong.com/html/html-color-tutorial/
Font Face/ Font Family
We cannot expect them to be universally supported. Just see what your browser can make out of it:
<font face="Serif" > Font style </font>
| Serif Sans-serif Cursive Fantasy Monospace | Times Roman Garamond Palatino Antiqua | Minion Helvetica Swiss Impact Script | Decorative Blackletter Fraktur Comic Sans Modern | Courier Calibri Frosty |
The actual appearance will depend on browser and the fonts installed on your system. Internet Explorer and Firefox usually different font style in different way.
Beautiful First Letter Style
We learn how to use font face, font size and font color, here we combine all together and create a beautiful first letter
<font size="7" face="Arial" color="#FF0000">B</font>eautiful First Letter
Beautiful First Letter