Tab textfields

Maximum text length (maxlength)

The maxlength attribute defines the maximum string length that the user can enter into a text field or text area. The attribute must have an integer value of 0 or greater.

Placeholder

The placeholder attribute defines the text that appears in a text field when it has no value. The placeholder text should give the user a brief indication of the expected value that should be entered into the text field.

Last updated