元素定義創(chuàng)建一個單行的文本輸入控件。 Creates a single-line text entry control. 元素說明SIZE 屬性用來設置 INPUT type=text 元素中可見字符的個數(shù)。而 MAXLENGTH 屬性用來設置可輸入的字符個數(shù)。 此元素在 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" > 另見相關教程和示例代碼 |
|