前往
大廳
主題

HTML 表單實作 練習- 2020/2/19

艾倫D索妮雅 | 2021-06-09 20:13:11 | 巴幣 0 | 人氣 242

<html>
<head>
</head>
<body>
<form name=my id=formId method="post" action="test.php">
姓名: <input type=text name=Name required> <br>
密碼: <input type=password id=mypwd required>
<input type=submit> <input type=reset>
</form>
<br><br>
<form>
<input type=text value="TomsJj" id=mytext > <br>
<textarea name="comments" cols=30 rows id=mytextarea>
新年到,鼠來寶,歡喜迎接2020~
</textarea>
<br>
<input type=button value="會員登入" id=mybtn>
<br>
<br>
<input type=checkbox id=ckb1> 上古卷軸V
<input type=checkbox id=ckb2> CM3D2
<input type=checkbox id=ckb3> HoneySelect
</form>
<br>
<br>
<form>
獸控<input type=radio name=male checked>
蘿莉控 <input type=radio name=female>
<br>
<br>
請選擇:<br>
<select size=3 id=myselect> <!--裡面加multiple的話就會變多選-->
<option selected> 如果有妹妹就好了
<option> 妹妹會讀漢字
<option> 三人行必有我妹
<br>
<br>
<input type=file id=myfile>
<br>
<br>
<input type=reset id=myreset>
</form>
</body>
</html>

創作回應

更多創作