HTML <th> üstbilgileri Özellik
Örnek
Her bir başlık hücresinin ilişkili olduğu <th> öğesini belirtin:
<table>
<tr>
<th id="name" colspan="2">Name</th>
</tr>
<tr>
<th headers="name">Firsname</th>
<th headers="name">Lastname</th>
</tr>
</table>
Tanım ve Kullanım
Nitelik headers
, bir başlık 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
<th 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 header cell is related to |
❮ HTML <th> etiketi