HTML <td> 헤더 속성
예시
각 <td> 요소가 관련된 <th> 요소를 지정합니다.
<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>
정의 및 사용
속성 은 headers
테이블 셀과 관련된 하나 이상의 헤더 셀을 지정합니다.
참고: 속성 headers
은 일반 웹 브라우저에서 시각적 효과가 없지만 화면 판독기에서는 사용할 수 있습니다.
브라우저 지원
Attribute | |||||
---|---|---|---|---|---|
headers | Yes | Yes | Yes | Yes | Yes |
통사론
<td headers="header_id">
속성 값
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> 태그