<form action="submit.php" method="post">
    <!-- Form elements go here -->
</form>

Common HTML Form Elements

1. Text Input

<label for="name">Name:</label>
<input type="text" id="name" name="name">

Used to collect short, single-line text input.

2. Email Input

<label for="email">Email:</label>
<input type="email" id="email" name="email" required>

Ensures the user enters a valid email format.

There are other types of input elements in HTML forms, such as radio buttons, checkboxes, dropdowns, text areas, and file uploads. Each one serves a different purpose and helps collect specific types of data.