ÇöÀçÀÇ ¹®¼¿¡ ÀÛ¿ëÇÏ´Â ¹®¼Å¸ÀÔÁ¤ÀÇ(DTD) ¹öÀüÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
ÀÌ ¼Ó¼ºÀº Àбâ/¾²±âÀÌ¸ç µðÆúÆ®°ªÀº ¾ø´Ù.
ÀÛ¼ºÀÚ°¡ ±â´ÉÀ» Á¤ÀÇÇÏ¿© ºÎ¿©ÇÏÁö ¾ÊÀ¸¸é ±â´É¼ºÀÌ ¾ø´Ù.
ÀÌ version ¼Ó¼ºÀº ¹®¼Å¸ÀÔÁ¤ÀÇ(DTD) ¹öÀü¿Í Áߺ¹µÇ¹Ç·Î HTML 4.0¿¡¼ ºÒ·®ÈµÇ¾ú´Ù.
°³Ã¼ | script | HTML | ±Ô°Ý | IE |
---|
ÀÌ ¼Ó¼ºÀº (¿µ¹®) HTML 3.2¿Í (¿µ¹®) W3C DOM Level 1(Document Object Model)¿¡¼ Á¤ÀǵǾú´Ù.
<SCRIPT> str='document.all.tags("html")[0].version=<SPAN style=color:blue;>'+document.all.tags("html")[0].version+'</SPAN>'; document.write(str); </SCRIPT>