HTML Tables Flashcards
(6 cards)
1
Q
What tag is used to create tables?
A
<table></table>
2
Q
How do you create a row in a table?
A
<tr></tr>
3
Q
How do you create a cell in a table?
A
<td></td>
4
Q
How do you create a table head cell?
A
<th></th>
5
Q
How do your remove the space between cells in a table?
A
<table cellspacing="0"> </table>
6
Q
Create a basic table in html.
A
<table cellspacing="0"> <caption> This is a table </caption> <tr> <th>Student</th> <th>Score</th> </tr> <tr> <td>John</td> <td>20</td> </tr> <tr> <td>Mark</td> <td>28</td> </tr> </table>