Input number min max. Атрибут maxlength. maxlength.