:: ˹èÇ·Õè 6 ¡ÒÃÊÃéÒ§µÒÃÒ§ (Table)
¡ÒÃãÊèËÑÇàÃ×èͧãËé¡ÑºµÒÃÒ§


àÃÒÊÒÁÒöµ¡áµè§ËÑǤÍÅÑÁ¹ì ´éÇ¡ÒÃãªé <th>..</th> à¾×èÍà¹é¹¢éͤÇÒÁÊèǹËÑǢͧ¤ÍÅÑÁ¹ì â´Â <th> ¨ÐÁÕÃٻẺ¡ÒÃãªéàËÁ×͹ <td> áµè¢éͤÇÒÁÀÒÂã¹ <th> ¨Ðà»ç¹µÑÇ˹ÒáÅÐÍÂÙè¡Ö觡ÅÒ§à«ÅÅìÍѵâ¹ÁѵÔÕé

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

 


µÑÇÍÂèÒ§¡ÒÃãªé§Ò¹
<body>

<h3>¡Ó˹´ËÑÇ¢éÍãéËé¡ÑºµÒÃÒ§</h3>
<table border="1" width="300">
    <tr> <th>ËÑÇ¢éÍ</th><th>ËÑÇ¢éÍ</th><th>ËÑÇ¢éÍ</th></tr>
    <tr> <td>¢éÍÁÙÅ</td> <td>¢éÍÁÙÅ</td> <td>¢éÍÁÙÅ</td> </tr>
    <tr> <td>¢éÍÁÙÅ</td> <td>¢éÍÁÙÅ</td> <td>¢éÍÁÙÅ</td> </tr>
    <tr> <td>¢éÍÁÙÅ</td> <td>¢éÍÁÙÅ</td> <td>¢éÍÁÙÅ</td> </tr>
</table>


</body>

¡ÒÃáÊ´§¼Å

¨Ò¡µÑÇÍÂèÒ§¨ÐàËç¹ä´éÇèÒ¢éÍÁÙÅ·ÕèÍÂÙèã¹á¶Çáá«Öè§à»ç¹á¶Ç·Õè¡Ó˹´â´Â á·ê¡ <th> ¨Ðà»ç¹µÑÇ˹ÒáÅÐÍÂÙè¡Ö觡ÅÒ§¢Í§à«Å