There are only 4 specific atrributes:
- value - Value is the default value of the input box when a page is first loaded. This is a common attribute for element regardless which type you are using.
- min - Obviously, the minimum value you of the number. I should have specified minimum value to 0 for my demo up there as a negative number doesn't make sense for number of movie watched in a week.
- max - Apprently, this represents the biggest number of the number input.
- step - Step scale factor, default value is 1 if this attribute is not specified.
So you cannot control length of what user type by keyword. But the implementation of browsers may change.