:: ˹èÇ·Õè 6¡ÒÃÊÃéÒ§µÒÃÒ§ (Table)
¡ÒûÃѺ¢¹Ò´µÒÃÒ§


¡ÒûÃѺ¤ÇÒÁ¡ÇéÒ§µÒÃÒ§

¨Ò¡µÑÇÍÂèÒ§·Õè¼èÒ¹ÁÒ ¤ÇÒÁ¡ÇéÒ§¢Í§µÒÃÒ§¨Ð¢Öé¹ÍÂÙè¡Ñº¢éÍÁÙÅáµèÅЪèͧÀÒÂã¹µÒÃÒ§¶éÒ¢éÍÁÙÅÁÒ¡µÒÃÒ§¡ç¨Ð¢ÂÒ¢Ö鹶éÒ¢éÍÁÙŹé͵ÒÃÒ§¡ç¨Ð˴ŧ  ÍÒ¨·ÓãËéµÒÃÒ§´ÙäÁèÊǧÒÁ àÃÒÊÒÁÒö¡Ó˹´¢¹Ò´¤ÇÒÁ¡ÇéÒ§¢Í§µÒÃÒ§ä´éàͧ´Ñ§¹Õé

Attribute
ª×èÍá·ç¡ width
µÓá˹è§á·ç¡ ÍÂÙèã¹á·ç¡à»Ô´ <table>
ÃٻẺ¡ÒÃãªéá·ç¡ <table width="value">... </table>
value ¤èÒ¡Ó˹´à»ç¹µÑÇàÅ¢ÁÕ˹èÇÂà»ç¹¾Ô¡à«Å ËÃ×Í %

 


µÑÇÍÂèÒ§¡ÒÃãªé§Ò¹
<body>
µÒÃÒ§¡ÇéÒ§¢¹Ò´ 200 <br>
<table border="1" width="200">
    <tr><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
    <tr><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
</table>
<br>
µÒÃÒ§¡ÇéÒ§¢¹Ò´ 70% <br>
<table border="1"width="70%">
    <tr><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
    <tr><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
</table>

</body>

¡ÒÃáÊ´§¼Å

¨Ò¡µÑÇÍÂèÒ§¡ÒáÓ˹´¢¹Ò´¤ÇÒÁ¡ÇéÒ§¢Í§µÒÃÒ§ÊÒÁÒö¡Ó˹´à»ç¹¾Ô¡à«Å àªè¹ widht="200" , widht="200px" ¡ÒáÓ˹´à»ç¹áºº ¾Ô¡à«Å ¨Ð¤§·ÕèäÁèÁÕ¡ÒâÂÒÂËÃ×ÍÅ´¢¹Ò´µÒÁ˹éҨͺÃÒÇà«ÍÃì áµèËÒ¡¡Ó˹´à»ç¹ à»ÍÃìà«ç¹µì ¡çä´éàªè¹¡Ñ¹ widht="80%"  ¡ÒÃáÊ´§¼Å¢Í§µÒÃÒ§¨ÐÂèÍ¢ÂÒµÒÁ¢¹Ò´¢Í§ºÃÒÇà«ÍÃì


¡ÒûÃѺ¤ÇÒÁÊÙ§µÒÃÒ§

àÃÒÊÒÁÒö¡Ó˹´¢¹Ò´¤ÇÒÁÊÙ§¢Í§µÒÃÒ§ä´éàªè¹à´ÕÂǡѺ¡ÒáÓ˹´¢¹Ò´¤ÇÒÁ¡ÇéÒ§ ´éÇÂáÍ··ÃÔºÔÇ·ì  height

Attribute
ª×èÍáÍ··ÃÔºÔÇ·ì height
µÓá˹è§á·ç¡ ÍÂÙèã¹á·ç¡à»Ô´ <table>
ÃٻẺ¡ÒÃãªéá·ç¡ <table height="value">... </table>
value ¤èÒ¡Ó˹´à»ç¹µÑÇàÅ¢ÁÕ˹èÇÂà»ç¹¾Ô¡à«Å ËÃ×Í %

µÑÇÍÂèÒ§¡ÒÃãªé§Ò¹
<body >
µÒÃÒ§ÊÙ§¢¹Ò´ 200 ¾Ô¡à«Å<br>
<table border="1" width="200" height="300">
    <tr><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
    <tr><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
</table>

</body>

¡ÒÃáÊ´§¼Å

 

¡ÒáÓ˹´¤ÇÒÁÊÙ§¢Í§µÒÃÒ§¡çÊÒÁÒö¡Ó˹´à»ç¹ ྡà«Å ËÃ×Í à»ÍÃìà«ç¹µì¡çä´é áµè¡ÒáÓ˹´¤ÇÒÁÊÙ§¢Í§µÒÃÒ§äÇéá¹è¹Í¹ àÁ×èÍ¢éÍÁÙÅ·ÕèÍÂÙèã¹µÒÃÒ§àÂÍÐ µÒÃÒ§¨Ð¢ÂÒ¤ÇÒÁÊÙ§µÒÁ¢éÍÁÙÅâ´ÂÍѵâ¹ÁÑµÔ «Ö觨ÐᵡµèÒ§¡Ñº¤ÇÒÁ¡ÇéÒ§¨ÐäÁèÁÕ¡ÒâÂÒµÒÁ¢éÍÁÙÅ