input 标签中的maxlength 属性,可以用来规定输入字符串的最大长度。 示例代码: <!--这里最多可以输入20个字符--> <input type="text" maxlength="20"> ...
確定! 回上一頁