The maxlength Attribute

The maxlength Attribute

<form action="">
  First name:<br>
  <input type="text" name="firstname" maxlength="10">
</form>

Specifies the maximum allowed length for the input field.

Related concepts

The maxlength Attribute

The maxlength Attribute — Structure map

Clickable & Draggable!

The maxlength Attribute — Related pages: