HTML Tutorial

HTML Forms

Forms

Collect user input with <form>, <input>, <label>, and <button>.

<form>
  <label>Name: <input type="text" name="name"></label>
  <button type="submit">Submit</button>
</form>