set max characters in text css input code example
Example 1: input max length
<input maxlength="10" />
Example 2: how to limit input type max length
<input name="somename"
oninput="javascript: if (this.value.length > this.maxLength) this.value = this.value.slice(0, this.maxLength);"
type = "number"
maxlength = "6"
/>