← Lessons
🎨 HTML + CSS for Beginners
Tables and forms
## Tables
```html
<table>
<tr><th>Day</th><th>Lesson</th></tr>
<tr><td>Saturday</td><td>Scratch</td></tr>
<tr><td>Sunday</td><td>Python</td></tr>
</table>
```
- `<tr>` — a row (table row)
- `<th>` — a header cell (shown in bold)
- `<td>` — a normal cell
- `<caption>` — the table's title
## Forms
Use a form to get information from the user:
```html
<form>
<label for="name">Name</label>
<input id="name" name="name" placeholder="Type your name">
<select name="course">
<option>Scratch</option>
<option>Python</option>
</select>
<label><input type="checkbox"> Get news</label>
<button>Send</button>
</form>
```
> 💡 When the `label`'s `for` matches the `input`'s `id`, clicking the label selects the field.
> 🧩 Problems: **HTML/CSS → Level 5, 6**
💡 Want to track which lessons you've read and solve problems for points? Sign up for free or log in.