第三章html表單的高階應用1
阿新 • • 發佈:2019-02-09
<pre class="html" name="code">
<html><head><title></title></head><body><form method="get" action="1.html"><p>名字:<input name="name" type="hidden" size="50" maxlength="10" readonly="readonly"></p><p>密碼:<input name="pass" type="password" disabled="disabled"></p><p><input type="submit" name="Button" value="提交" ><input type="reset" name="Reset" value="重填"><br/><input type="radio" name="gener" value="nv" checked="checked">女<input type="radio" name="gen" value="nan">男<br/>愛好:<input type="checkbox" name="a" value="sports" checked="checked">運動<input type="checkbox" name="a" value="talk">聊天<input type="checkbox" name="a" value="play">玩遊戲<br/>出生日期:<input name="byear" value="yyyy" size="4" maxlength="4"> 年<select name="bmon"><option value=">[選擇月份]</option><option value="1">一月</option><option value="2" selected="selected">二月</option><option value="3">三月</option><option value="4">四月</option></select>月 <input name="bday" value="dd" size="2" maxlength="2">日<br/><input type="reset" name="b" value="reset按鈕"><input type="submit" name="b" value="submit按鈕"><input type="button" name="a" value="button按鈕" onclick="alert(this.value)"><br/><h4>填寫個人評價</h4><textarea name="textarea" cols="4" rows="6"></textarea><br/><p><input type="file" name="files"/><br/><input type="submit" name="upload" value="上傳"/></p></p></form></body></html>