元素定义创建一个单行的文本输入控件。 Creates a single-line text entry control. 元素说明SIZE 属性用来设置 INPUT type=text 元素中可见字符的个数。而 MAXLENGTH 属性用来设置可输入的字符个数。 此元素在 Internet Explorer 3.0 及以上版本的 HTML 和脚本中可用。 此元素是一个内嵌元素。 此元素不需要关闭标签。 The SIZE attribute sets the number of visible characters in the INPUT type=text element. The MAXLENGTH attribute sets the maximum number of characters that can be entered. The INPUT type=text element is available in HTML and script as of Internet Explorer 3.0. This element is an inline element. This element does not require a closing tag. 元素示例代码<input type="text" name="yourname" size = "15" > 另见相关教程和示例代码 |
|