Sets or retrieves the maximum number of characters that the user can enter in a text control.
MDN Reference