document °³Ã¼¿Í ¿¬°üµÇ ³ëµå(node)¸¦ ¹ÝȯÇÑ´Ù.

Àμö
: (¼Ó¼º °³Ã¼)
¼Ó¼º°ªÀº document °³Ã¼¸¦ ¹Þ´Â °³Ã¼ÀÌ´Ù.

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

Ư±â

¼Ó¼ºÀº »õ·Î¿î ³ëµå(node)µéÀ» »ý¼ºÇϴµ¥ »ç¿ëµÈ document °³Ã¼ÀÌ´Ù.

³ëµå°¡ documentÀ̸é nullÀ» ¹ÝȯÇÑ´Ù.

Àû¿ë
°³Ã¼scriptHTML±Ô°ÝIE
ÂüÁ¶

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


DIV °³Ã¼ ¹®ÀÚ¿­
<DIV id=divObj>DIV °³Ã¼ ¹®ÀÚ¿­</DIV>
<SCRIPT>
document.write('divObj.ownerDocument='+divObj.ownerDocument+'<BR>');
document.write('divObj.ownerDocument.nodeName='+divObj.ownerDocument.nodeName+'<BR>');
document.write('divObj.ownerDocument.location='+divObj.ownerDocument.location);
</SCRIPT>