XHTML » input » maxlength

The maxlength attribute sets the maximum number of characters that can be entered into a one line text window.