HTML <th> abbrคุณสมบัติ
ตัวอย่าง
การใช้แอตทริบิวต์ abbr ในตาราง HTML:
<table>
<tr>
<th abbr="Make">Toy manufacturer</th>
<th abbr="Model">Vehicle model</th>
</tr>
<tr>
<td>Bruder Toys</td>
<td>Cross Country Vehicle</td>
</tr>
<tr>
<td>Bruder Toys</td>
<td>DHL Lorry</td>
</tr>
</table>
ความหมายและการใช้งาน
แอตทริบิวต์abbr
ระบุเวอร์ชันที่สั้นกว่าของเนื้อหาในเซลล์ส่วนหัว
หมายเหตุ:คุณลักษณะabbr
นี้ไม่มีเอฟเฟกต์ภาพในเว็บเบราว์เซอร์ทั่วไป แต่สามารถใช้โดยโปรแกรมอ่านหน้าจอ
รองรับเบราว์เซอร์
Attribute | |||||
---|---|---|---|---|---|
abbr | Yes | Yes | Yes | Yes | Yes |
ไวยากรณ์
<th abbr="text">
ค่าแอตทริบิวต์
Value | Description |
---|---|
text | A short description of the header cell content |
❮ แท็ก HTML <th>