Export to GitHub

doctype-mirror - InputElement.wiki


You are here: Home > HTML Reference > Elements > input element

The input element's behavior is entirely dependent on its type attribute.

  • input type="button"
  • input type="checkbox"
  • input type="file"
  • input type="hidden"
  • input type="image"
  • input type="password"
  • input type="radio"
  • input type="readonly"
  • input type="reset"
  • input type="submit"
  • input type="text"

Browser compatibility

Compatibility table legend

| Test | IE8 | IE7 | IE6 | FF3 | FF2 | Saf3 | Op9 | Chrome | |:---------|:--------|:--------|:--------|:--------|:--------|:---------|:--------|:-----------| | appears in DOM | Y | Y | Y | Y | Y | Y | Y | Y | | applies style | Y | N | N | Y | Y | Y | Y | Y |

Further reading