티스토리 뷰

AU Study/TAFE

CSS table

Last72 2017. 8. 29. 09:35
e.g. <table>
 <table> element creates a table.

table row
The <tr> element adds rows to a table.

table detail
To add data to a row, you can use the <td> element.

table head
Table headings clarify the meaning of data. Headings are added with the <th> element.

td colspan="2"
Table data can span columns using the colspan attribute.,

td rowspan="2"
Table data can span rows using the rowspan attribute.

thead, tbody, tfoot
Tables can be split into three main sections: a head, a body, and a footer.
A table's head is created with the <thead> element.
A table's body is created with the <tbody> element.
A table's footer is created with the <tfoot> element.


All the CSS properties you learned about in this course can be applied to tables and their data.

'AU Study > TAFE' 카테고리의 다른 글

w7 tue afternoon  (0) 2017.09.02
w7 tue morning  (0) 2017.09.02
w6 Fri afternoon  (0) 2017.08.29
w6 Fri morning  (0) 2017.08.29
w6 wed afternoon  (0) 2017.08.29
댓글
Announcement
Recent Posts
Recent Comments
Total
Today
Yesterday
Link
TAG
more
«   2025/01   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Search by month