°³Ã¼¿Í ¿¬°üµÈ °³³äÀû Ä«Å×°í¸®µéÀÇ ¸ñ·ÏÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
ÀÌ ¼Ó¼ºÀº Àбâ/¾²±âÀÌ¸ç µðÆúÆ®°ªÀº ¾ø´Ù.
ÀÌ ¼Ó¼ºÀº º¸ÀÌÁö ¾Ê´Â À½¼ºÀ̳ª Á¡Àڵ »ç¿ëÇÒ ¼ö ÀÖ°í,
¾î¶² Ä«µ¥°í¸®¿¡ ¼ÓÇÏ´Â Ä(cell)µéÀ» ã´Âµ¥ ȤÀº Å×À̺íÀÇ ³»¿ëÀ» »ý¼ºÇϴµ¥ »ç¿ëµÉ ¼ö ÀÖ´Ù.
ÀÛ¼ºÀÚ°¡ ±â´ÉÀ» Á¤ÀÇÇÏ¿© ºÎ¿©ÇÏÁö ¾ÊÀ¸¸é ±â´É¼ºÀÌ ¾ø´Ù.
°³Ã¼ | script | HTML | ±Ô°Ý | IE |
---|
ÀÌ ¼Ó¼ºÀº HTML 4.0°ú (¿µ¹®) W3C DOM Level 1(Document Object Model)¿¡¼ Á¤ÀǵǾú´Ù.
C1 | C2 | C3 | C4 | C5 |
---|---|---|---|---|
R1C1 | R1C2 | R1C3 | R1C4 | R1C5 |
R2C1 | R2C2 | R2C3 | R2C4 | R2C5 |
R3C1 | R3C2 | R3C3 | R3C4 | R3C5 |
R4C1 | R4C2 | R4C3 | R4C4 | R4C5 |
<TABLE border=1 width=400> <TR><TH>C1</TH><TH>C2</TH><TH>C3</TH><TH id=thObj axis="THaxis" style=background="yellow">C4</TH><TH>C5</TH></TR> <COL align="right" style="color:blue"><COLGROUP align="center" style="color:teal"><COL><COL></COLGROUP> <TR><TD>R1C1</TD><TD>R1C2</TD><TD>R1C3</TD><TD>R1C4</TD><TD id=tdObj axis="TDaxis" bgcolor="pink">R1C5</TD></TR> <TR><TD>R2C1</TD><TD>R2C2</TD><TD>R2C3</TD><TD>R2C4</TD><TD>R2C5</TD></TR> <TR><TD>R3C1</TD><TD>R3C2</TD><TD>R3C3</TD><TD>R3C4</TD><TD>R3C5</TD></TR> <TR><TD>R4C1</TD><TD>R4C2</TD><TD>R4C3</TD><TD>R4C4</TD><TD>R4C5</TD></TR> </TABLE> <SCRIPT> str='thObj.axis='+thObj.axis+'<BR>'; str+='tdObj.axis='+tdObj.axis+'<BR>'; document.write(str); </SCRIPT>