ÇöÀçÀÇ ±Û²Ã °¡Á·À» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.

Àμö
: (¼Ó¼º ¹®ÀÚ¿­)
¼Ó¼º°ªÀº ÇöÀçÀÇ ±Û²Ã °¡Á·(font-family)À» ³ªÅ¸³»´Â ¹®ÀÚ¿­ÀÌ´Ù.

ÀÌ ¼Ó¼ºÀº Àбâ/¾²±âÀÌ¸ç µðÆúÆ®°ªÀº ¾ø´Ù.

Àû¿ë
°³Ã¼scriptHTML±Ô°ÝIE
Âü°í
fontFamily ±Û²ÃÇ¥

ÀÌ ¼Ó¼ºÀº (¿µ¹®) HTML 3.2¿Í (¿µ¹®) W3C DOM Level 1(Document Object Model)¿¡¼­ Á¤ÀǵǾú´Ù.


±Ã¼­Ã¼
°á°ú Ç¥½Ãâ
<SCRIPT>
function changeFace(){
  if (fontObj.face=='±Ã¼­Ã¼') fontObj.face='±¼¸²Ã¼';
  else fontObj.face='±Ã¼­Ã¼';
  showA.innerHTML='fontObj.face='+fontObj.face;
}
</SCRIPT>
<FONT id="fontObj" face="±Ã¼­Ã¼" color="blue">±Ã¼­Ã¼</FONT><BR>
<BUTTON onclick="changeFace()">Ŭ¸¯ÇÏ¿© ±Û²ÃÀ» ¹Ù²ãº¸¶ó</BUTTON>
<DIV id=showA>°á°ú Ç¥½Ãâ</DIV>