<maxlength>

A form control maxlength attribute , controlled by a dirty value flag, declares a limit on the number of characters a user can input.