HTML Forms

HTML forms are used to collect user input:

Example:

<form action="/submit" method="POST">
    <label for="name">Name:</label>
    <input type="text" id="name" name="name">
    <button type="submit">Submit</button>
</form>

HTML Tables

HTML tables are used to organize data in rows and columns:

Example:

<table>
    <thead>
        <tr>
            <th>Name</th>
            <th>Age</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>Alice</td>
            <td>25</td>
        </tr>
        <tr>
            <td>Bob</td>
            <td>30</td>
        </tr>
    </tbody>
</table>

Semantic HTML

Semantic elements help define the meaning of your content:

Common Semantic Elements:

<header> - Defines a page header
<nav> - Defines navigation links
<main> - Defines the main content
<footer> - Defines a page footer