HTML <td> üstbilgileri Özellik
Örnek
Her bir <td> öğesinin ilişkili olduğu <th> öğesini belirtin:
<table>
<tr>
<th id="name">Name</th>
<th id="email">Email</th>
<th id="phone">Phone</th>
<th id="addr">Address</th>
</tr>
<tr>
<td headers="name">John Doe</td>
<td headers="email">[email protected]</td>
<td headers="phone">+45342323</td>
<td headers="addr">Rosevn 56,4300 Sandnes,Norway</td>
</tr>
</table>
Tanım ve Kullanım
Nitelik headers
, bir tablo hücresinin ilişkili olduğu bir veya daha fazla başlık hücresini belirtir.
Not: Özelliğin headers
sıradan web tarayıcılarında görsel bir etkisi yoktur, ancak ekran okuyucular tarafından kullanılabilir.
Tarayıcı Desteği
Attribute | |||||
---|---|---|---|---|---|
headers | Yes | Yes | Yes | Yes | Yes |
Sözdizimi
<td headers="header_id">
Özellik Değerleri
Value | Description |
---|---|
header_id | Specifies a space-separated list of id's to one or more header cells the table cell is related to |
❮ HTML <td> etiketi