splitforms.com
HTML reference · 12 elements

HTML form elements, with working code.

Every element below ships a live demo, copy-paste code, an attribute table, and a form that actually submits to a free backend. No static snippets — these forms work the moment you paste them.

Get free access key Form templates
Elements

HTML Form

An HTML form is created with the <form> element and collects user input through controls like <input>, <textar

Read & copy →

HTML Input

The <input> element is the most used form control in HTML. Its type= attribute switches its behaviour — text,

Read & copy →

HTML Textarea

The <textarea> element is a multi-line text input, used for messages, comments, and anything longer than a sin

Read & copy →

HTML Radio Button

A radio button is an <input type="radio"> that lets a user pick exactly one option from a group. Radio buttons

Read & copy →

HTML Select (Dropdown)

The <select> element is a dropdown menu built from <option> tags. The user picks one (or, with the multiple at

Read & copy →

HTML Button

The <button> element is a clickable control. Inside a form its type= attribute decides what it does: submit se

Read & copy →

HTML File Input (Upload)

An <input type="file"> lets a user pick one or more files from their device to upload with the form. The form

Read & copy →

HTML Label

A <label> connects a text caption to a form control. Linked with the for attribute (matching the control's id)

Read & copy →

HTML Fieldset & Legend

A <fieldset> groups related form controls together, and a <legend> inside it provides a caption for the group.

Read & copy →

HTML Checkbox

A checkbox is an <input type="checkbox"> that lets a user turn a single option on or off, or pick several opti

Read & copy →

HTML Form Action

The action attribute on a <form> tells the browser where to send the submitted data — a server URL or a form-b

Read & copy →

HTML Form Method (GET vs POST)

The method attribute decides how a form sends its data. GET appends it to the action URL as a query string (fo

Read & copy →

Looking for a ready-made form? See the form templates or the free HTML drop-in.

Free backend

Ship a working form in under a minute.

Grab a free access key, paste one endpoint into any element above, and start collecting submissions — 500 per month, spam-filtered, no server code.

Get free access key Browse templates