"HTML 테이블 caption 태그"의 두 판 사이의 차이

잔글 (210.183.41.31(토론)의 편집을 221.148.61.230의 마지막 판으로 되돌림)
 
(사용자 4명의 중간 판 9개는 보이지 않습니다)
4번째 줄: 4번째 줄:
==예시==
==예시==
<source lang='html5'>
<source lang='html5'>
<style type="text/css">   
<style>   
table { border-collapse:collapse; }   
table { border-collapse: collapse; }   
th, td { border:1px solid black; }
th, td { border: 1px solid black; text-align: right; }
</style>
</style>


13번째 줄: 13번째 줄:
   <tr>
   <tr>
     <th>월</th>
     <th>월</th>
     <th>저축액</th>
     <th>저축금액</th>
   </tr>
   </tr>
   <tr>
   <tr>
21번째 줄: 21번째 줄:
</table>
</table>
</source>
</source>
*http://jmnote.com/html5/table-caption.php
<jsfiddle height='200'>fwkjLohs</jsfiddle>


==같이 보기==
==같이 보기==
*[[HTML table 태그]]
*[[HTML table 태그]]


==참고 자료==
==참고==
*http://www.w3schools.com/tags/tag_caption.asp
*http://www.w3schools.com/tags/tag_caption.asp


[[분류: HTML 태그]]
[[분류: HTML table]]

2018년 4월 18일 (수) 10:29 기준 최신판

HTML caption tag
HTML caption 태그, HTML 테이블 캡션, 테이블 제목

1 예시[ | ]

<style>  
table { border-collapse: collapse; }  
th, td { border: 1px solid black; text-align: right; }
</style>

<table>
  <caption>월별 저축액</caption>
  <tr>
    <th></th>
    <th>저축금액</th>
  </tr>
  <tr>
    <td>1월</td>
    <td>100원</td>
  </tr>
</table>

2 같이 보기[ | ]

3 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}