链接: https://pan.baidu.com/s/1-yFswWQNAECYorxEx0WvbA 密码: urot
效果图:
笔记:
代码:
<html>
<title>
登录框
</title>
<body>
<form action="table.html" method="post">
name:<input type="text" name="username">
pwd:<input type="password" name="pwd">
<input type="submit" value="login">
<input type="reset" value="restart"><br/>
<hr/>
<br/>复选框
请选择您的电器:<br/>
<input type="checkbox" name="1">手机<br/>
<input type="checkbox" name="1">电脑<br/>
<input type="submit" value="提交"><br/>
<hr/>
<br/>下拉菜单
请选择地址<br/>
<select name="addr">
<option name="shandong">山东</option>
<option name="hebei">河北</option>
<option name="henan">河南</option>
<option name="shanxi">山西</option>
</select>
<input type="submit" value="提交"><br/>
<hr/>
<p>留言框</p>
<textarea rows="10" cols="30" >请输入内容*****
</textarea>
<hr/>
<p>文件上传框</p>
<input type="file" name="myfile"><br/>
<input type="submit" value="上传"><br/>
</body>
</html>