CSS3 uses custom fonts and css3 custom Fonts
CSS3 @ font-face rules
Before CSS3, web designers must use fonts that have been installed on users' computers.
With CSS3, web designers can use any font they like.
When you find or purchase a font that you want to use, you can store the font file on the web server and it will be automatically downloaded to your computer as needed.
Your "own" font is defined in the CSS3 @ font-face rule.
Firefox, Chrome, Safari, and Opera support. ttf (True Type Fonts) and. otf (OpenType Fonts) Fonts.
Internet Explorer 9 + supports new @ font-face rules, but only supports. eot fonts (Embedded OpenType ).
Note: Internet Explorer 8 and earlier versions do not support the new @ font-face rule.
Use the font you need
In the new @ font-face rule, you must first define the font name (for example, myFirstFont) and then point to the font file.
To use a font for HTML elements, use the font-family attribute to reference the font name (hoverTreeFont ).
First view the effect: http://hovertree.com/texiao/css/5.htm
Complete HTML code:
<! DOCTYPE html>
Web Front-end: http://www.cnblogs.com/jihua/p/webfront.html