지운아빠

html5 <td headers='header_id'>

Table 의 웹 접근성을 높여주는 td element attribute 가 있었네요.
 
 
<table border="1">
  <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">someone@example.com</td>
    <td headers="phone">+45342323</td>
    <td headers="addr">Rosevn 56,4300 Sandnes,Norway</td>
  </tr>
</table>
 
|

댓글 3개

좋네요. ㅊㅊ

그나저나, id 들은 언제쯤 namespace 가 생길까요?
위 같이 id를 사용하려면 id들이 꽤 길어질것 같은 예감이.. -_-
namespace 가 class='style1 style2' 요런거 말씀하시는 거에요?
id 길게 쓰기는 제가 최강자입니다. id='board_thead_th_title_notice' ㅎㅎㅎ
하긴 id를 길게 쓰나, table1.name 식으로 쓰나 그게 그거겠네요.. ^^;
댓글을 작성하시려면 로그인이 필요합니다. 로그인

팁게시판

디자인과 관련된 유용한 정보를 공유하세요. 질문은 상단의 QA에서 해주시기 바랍니다.

+
제목 글쓴이 날짜 조회
13년 전 조회 2,424
13년 전 조회 1,351
13년 전 조회 1,568
13년 전 조회 652
13년 전 조회 5,934
13년 전 조회 935
13년 전 조회 1,183
13년 전 조회 4,945
13년 전 조회 1,626
13년 전 조회 2,420
13년 전 조회 1,822
13년 전 조회 1,021
13년 전 조회 1,100
13년 전 조회 1,016
13년 전 조회 748
13년 전 조회 1,135
13년 전 조회 7,633
13년 전 조회 3,068
13년 전 조회 848
13년 전 조회 1,880
13년 전 조회 2,062
13년 전 조회 4,591
13년 전 조회 910
13년 전 조회 2,107
13년 전 조회 659
🐛 버그신고