← Back to Tag Glossary

<input>

Forms & Interactive

Captures varying types of inputs from visitors, customized using the 'type' attribute.

Common Attributes

  • type Configures the element's custom type parameter.
  • name Configures the element's custom name parameter.
  • id Configures the element's custom id parameter.
  • value Configures the element's custom value parameter.
  • required Configures the element's custom required parameter.
  • placeholder Configures the element's custom placeholder parameter.
  • disabled Configures the element's custom disabled parameter.
  • checked Configures the element's custom checked parameter.
  • minlength Configures the element's custom minlength parameter.
  • maxlength Configures the element's custom maxlength parameter.
  • pattern Configures the element's custom pattern parameter.
interactive-example.html
Live Preview