Complete the code to start a table in HTML.
<table[1]> <tr> <td>Cell 1</td> </tr> </table>
The border="1" attribute adds a simple border to the table, making it visible.
Complete the code to add a header cell in the table row.
<table border="1"> <tr> [1]>Name</th> </tr> </table>
<td> instead of <th> for header cells.<header> or <head> inside the table.The <th> tag defines a header cell in a table row.
Fix the error in the table row by completing the missing closing tag.
<table border="1"> <tr> <td>Item 1</td> <td>Item 2[1] </tr> </table>
Each table cell <td> must be properly closed with </td>.
Fill both blanks to create a table with a header and two data rows.
<table border="1"> <tr> <[1]>Name</[1]> <[1]>Age</[1]> </tr> <tr> <[2]>Alice</[2]> <[2]>30</[2]> </tr> </table>
td for headers.th for data cells.The first row uses <th> for headers, and the second row uses <td> for data cells.
Fill all three blanks to create a table with a caption, header, and one data row.
<table border="1"> <[1]>User Info</[1]> <tr> <[2]>Username</[2]> <[2]>Email</[2]> </tr> <tr> <[3]>john_doe</[3]> <[3]>john@example.com</[3]> </tr> </table>
thead instead of caption for the title.th and td tags.The <caption> tag adds a title to the table. Header cells use <th>, and data cells use <td>.
