HTML °èÅëµµ¿¡¼­ ÇØ´ç °³Ã¼¸¦ ¹ÝȯÇÑ´Ù.

Àμö
: (¼Ó¼º °³Ã¼)
¼Ó¼º°ªÀº HTML °èÅëµµ¿¡¼­ ÇØ´ç °³Ã¼ÀÌ´Ù.

ÀÌ ¼Ó¼ºÀº ÀбâÀü¿ëÀÌ¸ç µðÆúÆ®°ªÀº ¾ø´Ù.

Ư±â

ÀÌ ¼Ó¼ºÀº ÀϹÝÀûÀ¸·Î ½ºÅ¸ÀϽ¬Æ®(style sheet)¸¦ Á¤ÀÇÇÏ´Â styleÀ̳ª link °³Ã¼¸¦ ¹ÝȯÇÑ´Ù.

Àû¿ë
°³Ã¼scriptHTML±Ô°ÝIE

styleObj Àû¿ëµÈ ¹®ÀÚ¿­
<STYLE id="styleObj">div.testClass{color:brown;font-weight:bold}</STYLE>
<DIV class="testClass">styleObj Àû¿ëµÈ ¹®ÀÚ¿­</DIV>
<SCRIPT>
oObj=document.all.tags('style')[0];
document.write('oObj.nodeName=<FONT color=blue>'
  +oObj.nodeName+'</FONT><BR>');
document.write('oObj.styleSheet.owningElement.nodeName=<FONT color=blue>'
  +oObj.styleSheet.owningElement.nodeName+'</FONT><BR>');
document.write('oObj.styleSheet.owningElement.id=<FONT color=blue>'
  +oObj.styleSheet.owningElement.id+'</FONT><BR>');
document.write('oObj.styleSheet.owningElement.styleSheet.cssText=<FONT color=blue size=-1>'
  +oObj.styleSheet.owningElement.styleSheet.cssText+'</FONT><BR>');
document.write('document.all.tags("link")[0].styleSheet.owningElement.nodeName=<FONT color=blue>'
 +document.all.tags('link')[0].styleSheet.owningElement.nodeName+'</FONT>');
</SCRIPT>