RSRobince Studio

HTML Forms

A <form> collects input from the visitor. The most common control is <input>, whose type sets what it accepts: text, email, password, number, checkbox and more. A <label> names a field, and a <button> submits it.

<label>Name: <input type="text" name="name"></label>
<button type="submit">Send</button>
Try it yourself

Loading editor…

This preview does not send anywhere — a real form needs a server to receive the data. Here you are just building the controls.