:: ˹èÇ·Õè 6 ¡ÒÃÊÃéÒ§µÒÃÒ§ (Table)
¡ÒÃãÊè¢éͤÇÒÁ¡Ó¡ÑºµÒÃÒ§


¡ÒÃãÊè¢éͤÇÒÁ¡Ó¡ÑºµÒÃÒ§

¡ÒÃãÊè¢éͤÇÒÁ¡Ó¡ÑºãËé¡ÑºµÒÃÒ§ ¨ÐªèÇÂãËéÃÙéÇèÒ µÒÃÒ§¹Ñé¹ áÊ´§¢éÍÁÙÅà¡ÕèÂǡѺÍÐäà áÅÐàÃÒÊÒÁÒö¡Ó˹´µÓá˹è§áÊ´§¢éͤÇÒÁ¡Ó¡ÑºµÒÃÒ§ä´é â´ÂÁÕÃٻẺ´Ñ§¹ÕéÔÕé

Tag
ª×èÍá·ç¡ caption
µÓá˹è§á·ç¡ ÍÂÙèã¹á·ç¡à»Ô´ <table>...</table>
ÃٻẺ¡ÒÃãªéá·ç¡ <caption>¢éͤÇÒÁ</caption>

 


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


<table border="1" width="300">
    <caption>¢éͤÇÒÁ¡Ó¡ÑºµÒÃÒ§</caption>
    <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr>
    <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr>
    <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr>
</table>


</body>

¡ÒÃáÊ´§¼Å

¨Ò¡µÑÇÍÂèÒ§¨ÐàËç¹ä´éÇèÒ¢éͤÇÒÁ¡Ó¡ÑºµÒÃÒ§¨Ð»ÃÒ¡¯ÍÂÙè´éÒ¹ºéÒ¹¢Í§µÒÃÒ§ÃÒ§áÅÐÍÂÙè¡Ö觡ÅÒ§¢Í§µÒÃÒ§

 

¡Ó˹´µÓá˹觢éͤÇÒÁ¡Ó¡ÑºµÒÃÒ§

¢éͤÇÒÁ·Õèãªé㹡ÒáӡѺËÃ×Í͸ԺÒµÒÃÒ§àÃÒÊÒÁÒö¡Ó˹´µÓá˹è§ä´é´éÇÂáÍ··ÃÔºÔǵì align

Attribute
ª×èÍáÍ··ÃÔºÔÇ·ì align
µÓá˹è§á·ç¡ ÍÂÙèã¹á·ç¡à»Ô´ <caption>
ÃٻẺ¡ÒÃãªéá·ç¡ <caption alignt="value">... </caption>
value µÓá˹觢ͧ¢éͤÇÒÁ¡Ó¡Ñº ä´éá¡è top (¡ÅÒ§º¹), bottom (¡ÅÒ§ÅèÒ§), left («éÒº¹), right (¢ÇÒº¹)

µÑÇÍÂèÒ§¡ÒÃãªé§Ò¹
<body >
<table border="1" width="300">
    <caption align="bottom">¢éͤÇÒÁ¡Ó¡ÑºµÒÃÒ§</caption>
    <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr>
    <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr>
    <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr>
</table>

</body>

¡ÒÃáÊ´§¼Å

¨Ò¡µÑÇÍÂèÒ§¨ÐàËç¹ä´éÇèÒ¢éͤÇÒÁ¡Ó¡ÑºµÒÃÒ§¨Ðà»ÅÕè¹µÓá˹è§Å§ÁÒÍÂÙè´éÒ¹ÅèÒ§¢Í§µÒÃÒ§µÒÁ·Õè¡Ó˹´ã¹ align