html-tables Flashcards
1
Q
What are the six primary HTML elements for creating tables?
A
<table>
<tr></tr> (starting row)
<td></td> (table data cell>
<th></th> table heading for column or row
<thead> Table heading section
<tbody> Table body section
</tbody></thead></table>
2
Q
What purpose do the thead and tbody elements serve?
A
<thead> Where headings of table should be
<tbody> Where body of table should be
</tbody></thead>