HTML input text 文字輸入欄位用來讓網友輸入文字
<input type="text" size="20" value="123456" />
<input type="text" size="20" value="123456" onclick="this.select()" />
<input type="text" size="20" value="123456" onmouseover="this.select()" onmouseout="this.blur();" />
<input type="text" size="20" value="123456" onchange="this.select()" onclick="this.select()" />
<input type="text" size="20" value="123456" maxlength="10"/>
<input type="text" size="20" value="123456" readonly />
<input type="text" size="20" value="123456" disabled />
<input type="password" size="20" value="123456" />
<input onfocus="this.value='焦點在此" onblur="this.value='焦點移開'" size="20" type="text" value="焦點移開" />
<input type="number" size="20" value="123456" />
<form>
<input type="text">
<input type="reset" value="清除表單">
</form>
<input type="color" onchange="alert(this.value)">
<input type="date">
<input type="datetime-local">
<form action="demo_form.asp">
<input type="email" />
<input type="submit" />
</form>
<input type="month" >
<form action="demo_form.asp">
Quantity (between 1 and 5): <input max="5" min="1" name="quantity" type="number" /> <input type="submit" />
<input type="time" >
<input type="week" >
<input type="file" multiple >
沒有留言:
張貼留言