Complete the code to create a table row.
<table>
<tr>[1]</tr>
</table><div> or <p> inside table rows instead of <td>.The <td> tag defines a cell in a table row. It is the correct element to use inside a <tr> for table data.
Complete the code to add a header cell in a table row.
<table>
<tr>[1]</tr>
</table><td> for header cells instead of <th>.The <th> tag defines a header cell in a table. It is used inside a <tr> to mark header cells.
Fix the error in the table code by completing the blank.
<table> [1] <td>Cell 1</td> <td>Cell 2</td> </tr> </table>
<td> or <th> instead of <tr>.The <tr> tag is required to start a table row. Without it, the cells are not inside a row, causing an error.
Fill both blanks to create a table with a header row and a data row.
<table> <tr>[1][2]</tr> <tr><td>Data 1</td><td>Data 2</td></tr> </table>
<td> tags for headers.Table headers use <th> tags inside a row. Both blanks need header cells to form the header row.
Fill all three blanks to create a table with a caption, header row, and one data row.
<table> [1] <tr>[2][3]</tr> <tr><td>Row 1</td><td>Row 2</td></tr> </table>
<td> instead of <th> for headers.The <caption> tag adds a title to the table. The header row uses <th> tags for each column header.