HTML: The Markup Language

input type=texttext-input field # T

The input element with a type attribute whose value is "text" represents a one-line plain text edit control for the input element’s value.

Permitted content #

empty (void element)

Permitted attributes #

Descriptions for attributes specific to this element #

type = "text"
Specifies that its input element is a one-line plain-text edit control for the input element’s value.
value = string
Specifies a value for this input element.

Additional constraints and admonitions #

Tag omission #

The input element is a void element. An input element must have a start tag but must not have an end tag.

Permitted parent elements #

any element that can contain phrasing elements