how to set maximum length of textbox in html code example Example: input max length <input maxlength="10" />