HTML Input — every input type with a live working form
The <input> element is the most used form control in HTML. Its type= attribute switches its behaviour — text, email, tel, number, date, file, checkbox, radio, and more. Each type gives you free browser validation and the right mobile keyboard. Below is a form using the most common input types that actually submits.
Updated June 2026 · The <input> element · 12 elements in the reference
<form action="https://splitforms.com/api/submit" method="POST">
<input type="hidden" name="access_key" value="YOUR_ACCESS_KEY">
<label for="name">Full name</label>
<input type="text" id="name" name="name" required>
<label for="email">Email</label>
<input type="email" id="email" name="email" placeholder="you@example.com" required>
<label for="phone">Phone</label>
<input type="tel" id="phone" name="phone" placeholder="+1 555 000 0000">
<label for="qty">Quantity</label>
<input type="number" id="qty" name="quantity" min="1" value="1">
<label for="when">Preferred date</label>
<input type="date" id="when" name="preferred_date">
<input type="checkbox" name="botcheck" style="display:none">
<button type="submit">Send</button>
</form>Replace YOUR_ACCESS_KEY with a key from your free splitforms dashboard. The form posts to one endpoint — submissions land in your inbox and dashboard with spam filtering built in.
No name = no data
An input without name= is dropped from the submission. id only wires up <label for> and anchors.
type=email only checks format
It validates the shape (a@b.co) but not whether the address is real or deliverable. Validate deliverability server-side.
placeholder is not a label
Placeholders vanish on focus and hurt accessibility. Always include a real <label> linked with for=.