HTML ¹®¼¿¡ ±ò¸®´Â ±Û²Ã(font)À» ¼³Á¤ÇÑ´Ù.
font-family:fontFamilyName | fontFamily ¾ÖÆ®¸®ºäÆ®¿¡ °¡´ÉÇÑ °ªµéÀÌ´Ù. |
src:url(urlVal) | ±Û²Ã(font) ÆÄÀÏÀÇ À§Ä¡ ÁÖ¼Ò(URL)ÀÌ´Ù. |
ÀÌ ¸í·É(rule)Àº µðÆúÆ®°ªÀÌ ¾ø´Ù.
»ç¿ëÀÚ ÄÄÇ»ÅÍ ½Ã½ºÅÛ¿¡ ¾ø´Â ±Û²ÃÀ» ÁöÁ¤ÇÏ¿©µµ Àû¿ëµÇÁö ¾Ê´Â °ÍÀ» Á¦¿ÜÇÏ°í´Â ¹®Á¦°¡ ¾ø´Ù.
ÁÖ¼Ò´Â ±ò¸° OpenType ÆÄÀÏ(.eot³ª .ote ¾ç½Ä)¸¦ ÁöĪÇؾßÇÑ´Ù.
¾ÐÃàµÈ ±Û²Ã µ¥ÀÌÅÍÀ» Æ÷ÇÔÇÏ´Â ÆÄÀÏÀº TrueType ±Û²Ã·Î º¯È¯µÈ´Ù.
ÀÌ ¸í·É(rule)Àº CSS2(Cascading Style Sheets Level 2)¿¡¼ Á¤ÀǵǾú´Ù.
µµÀÔµÈ ±Û²ÃÀ» Àû¿ëÇÑ ¹®´Ü.
´Ù¸¥ À§Ä¡¿¡ ÀÖ´Â ±Û²Ã ÆÄÀÏÀ» ÁöÁ¤ÇÏ¿© ±Û²ÃÀ» Àû¿ëÇÑ´Ù.
<HTML> <HEAD> <STYLE>@font-face{ font-family:TTche; src:url(C:\web\koxo\lang\js\style\exp\TTche.eot); } </STYLE> </HEAD> <BODY> <P style="font-family:TTche;font-size:18pt">µµÀÔµÈ ±Û²ÃÀ» Àû¿ëÇÑ ¹®´Ü.</P> </BODY> </HTML>