1. maxlength attribute for input and textarea elements

    Declares an upper bound on the number of characters the user can input. Normally the UI ignores attempts by the user to type in additional characters beyond this limit.

  2. htmlinputelement api: maxlength

  3. htmltextareaelement api: maxlength

  4. html element: input: maxlength

  5. html element: textarea: maxlength