< All the HTML Tags >

<input></input>

Video Coming Soon...

  • input

    Tag Type

    inline

    Tag Category

    forms

    Defines an input control

    Viewed

    1

    Examples

    1

Definition:

The HTML <input> tag is used to create interactive controls in forms for user input, such as text fields, checkboxes, radio buttons, and more.

The type of input is defined by the type attribute (e.g., text, password, checkbox, submit, etc.), allowing for various user interactions. This tag is essential for capturing user data and enabling form submissions.

Understanding the use of the `<input>` tag is fundamental for creating interactive web applications.

Attributes:

accept, alt, autocomplete, autofocus, checked, dirname, disabled, form, formaction, formenctype, formmethod, formnovalidate, formtarget, height, list, max, maxlength, min, minlength, multiple, name, pattern, placeholder, readonly, required, size, src, step, type, value, width

Accessibility:

Coming Soon…

Default input Example:

Using the <input> tag to create input fields.
<input type="text"><input type="password">

Default input Result:


Coming Soon…

Community Examples:

Coming Soon…
Coming Soon…