input總結
<input> 表單欄位
屬性 | 意義(值) 意義(值) |
align | (=top|middle|bottom|left|right) |
checked | |
maxlength | (=number) |
name | (=name) |
size | (=size) |
src | (=URL) |
type | (=text|password|checkbox|radio|submit|reset|file|hidden|image) |
value | (=value) |
語法 : 語法 : | <input [align=top|middle|bottom|left|right] [checked] [maxlength=number] [name=name] [size=size] [src=URL] [type=text|password|checkbox|radio|submit| reset|file|hidden|image] [value=value] > (沒有結束標籤) (沒有結束標簽) |
|||||
|
||||||
![]() |
<input>標籤置於<form>之中,可用來定義多種表單欄位。 <input>標簽置于<form>之中,可用來定義多種表單欄位。 <input>所定義的欄位性質及可使用的屬性是由type來決定。 <input>所定義的欄位性質及可使用的屬性是由type來決定。 | |||||
|
||||||
![]() |
<input type="text" name="Name" size="10"><br> <input type="text" name="Name" size="10"><br>
|