¸ñ·Ï °³Ã¼¿¡¼­ °³Ã¼µé »çÀÌÀÇ °ø¹éÀ» ÁÙ¿©¼­ ¾ÐÃàÇÏ¿© Ç¥½ÃÇϴ°¡¸¦ ºÎ¿ï°ªÀ¸·Î ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.

Àμö
: (¼Ó¼º ºÎ¿ï°ª)
¼Ó¼º°ªÀº ¸ñ·Ï °³Ã¼¿¡¼­ °³Ã¼µé »çÀÌÀÇ °ø¹éÀ» ÁÙ¿©¼­ ¾ÐÃàÇÏ¿© Ç¥½ÃÇϴ°¡¸¦ ³ªÅ¸³»´Â ºÎ¿ï°ªÀÌ´Ù.

true ¸ñ·Ï¿¡¼­ °³Ã¼µé »çÀ̸¦ Ä¡¹ÐÇÏ°³ °ø¹éÀ» ÁÙ¿©¼­ µð½ºÇ÷¹ÀÌ Çѵð.
false µðÆúÆ®À̸ç, ¸ñ·Ï¿¡¼­ °³Ã¼µé »çÀ̸¦ Ä¡¹ÐÇÏ°³ °ø¹éÀ» ÁÙÀÌÁö ¾Ê´Âµð.

ÀÌ ¼Ó¼ºÀº Àбâ/¾²±â·Î µðÆúÆ®°ªÀº falseÀÌ´Ù.

Ư±â

IE6¿¡¼­´Â ÀÌ ¼Ó¼ºÀÌ menu dir °³Ã¼¿¡µµ Àû¿ëµÈ´Ù.

ÀÛ¼ºÀÚ°¡ Á¤ÀÇÇÏÁö ¾ÊÀ¸¸é compact ¼Ó¼ºÀº ul, ol, dir, menu ¿¤·¹¸àÆ®¿¡¼­ ±â´É¼ºÀº ¾ø¾î Àû¿ëµÇÁö ¾Ê´Â´Ù.

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

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


Á¤»ó
Æ÷µµ
¸ÀÀÖ´Ù
»ç°ú
¸ÀÀÖ´Ù
º¹¼þ¾Æ
¸ÀÀÖ´Ù
°¨±Ö
¸ÀÀÖ´Ù
compact
Æ÷µµ
¸ÀÀÖ´Ù
»ç°ú
¸ÀÀÖ´Ù
º¹¼þ¾Æ
¸ÀÀÖ´Ù
°¨±Ö
¸ÀÀÖ´Ù
<TABLE border=1 cellpadding=5 cellspacing=0 width=400>
<TR>
<TD width=50%>
<DL id=dlObj>Á¤»ó
<DT>Æ÷µµ
<DD>¸ÀÀÖ´Ù
<DT>»ç°ú
<DD>¸ÀÀÖ´Ù
<DT>º¹¼þ¾Æ
<DD>¸ÀÀÖ´Ù
<DT>°¨±Ö
<DD>¸ÀÀÖ´Ù
</DL>
</TD>
<TD width=50%>
<DL id=dlObjC compact>compact
<DT>Æ÷µµ
<DD>¸ÀÀÖ´Ù
<DT>»ç°ú
<DD>¸ÀÀÖ´Ù
<DT>º¹¼þ¾Æ
<DD>¸ÀÀÖ´Ù
<DT>°¨±Ö
<DD>¸ÀÀÖ´Ù
</DL>
</TD>
</TR>

<TR>
<TD><SCRIPT>document.write('dlObj.compact='+dlObj.compact)</SCRIPT></TD>
<TD><SCRIPT>document.write('dlObjC.compact='+dlObjC.compact)</SCRIPT></TD>
</TR>
</TABLE>