Day 7: Basic Tables
HTML Masterclass
Current Task
Objective
Tables display structured data.
Step 1: Create a <table>.
Step 2: Add a table row <tr>. Inside, add two header cells <th> with "Name" and "Age".
Step 3: Add a second row <tr>. Inside, add two standard cells <td> with "John" and "30".
index.html
<table>
<tr>
<th>Name</th>
<th>Age</th>
</tr>
<tr>
<td>John</td>
<td>30</td>
</tr>
</table>
* Hint: Correct characters turn green, incorrect ones turn red.
Live Preview
🖼️
Verify your code to see the preview