Before css3, only fonts installed on the computer could be used
CSS3 introduced @font-face to facilitate the use of custom fonts.
usage:
@font-face{
font-family:custom name;
src:url('font location')
}
any tag {
font-family:custom name;
}
Support for each browser
Internet Explorer: EOT
FireFox:OTF/TIF/WOFF
Chrome:TIF/SVG/WOFF
Safari:OTF/TIF/SVG
Opera:OTF/TIF/SVG