<form action="/submit" method="post">
<label for="name">Name:</label>
<input type="text" id="name" name="name" required>
<label for="email">Email:</label>
<input type="email" id="email" name="email" required>
<label for="dob">Date of Birth:</label>
<input type="date" id="dob" name="dob">
<label for="message">Message:</label>
<textarea id="message" name="message" rows="4" cols="50"></textarea>
<button type="submit">Submit</button>
</form>
text
: Single-line text input.email
: Validated email address.password
: Password input (masked).number
: Numeric input.date
: Date picker.radio
: Single-choice options.checkbox
: Multiple-choice options.file
: File upload.