Skip to Content

Forms

Form Tags

<form> <input> <label> <select> <textarea> <button> <fieldset> <legend> <datalist> <output> <option> <optgroup>

Form attributes

  • action
  • method
  • target
  • novalidate
  • autocomplete

Input types

<input type="button"> <input type="checkbox"> <input type="color"> <input type="date"> <input type="datetime-local"> <input type="email"> <input type="file"> <input type="hidden"> <input type="image"> <input type="month"> <input type="number"> <input type="password"> <input type="radio"> <input type="range"> <input type="reset"> <input type="search"> <input type="submit"> <input type="tel"> <input type="text"> <input type="time"> <input type="url"> <input type="week">

Input attributes

  • value
  • readonly
  • disabled
  • size
  • maxlength
  • min
  • max
  • multiple
  • pattern
  • placeholder
  • required
  • step
  • autofocus
  • height
  • width
  • list and datalist
  • autocomplete
Last updated on