01 基础知识
1 表单
其中:
action表示动作定义在提交表单时执行的动作。向服务器提交表单的通常做法是使用提交按钮。通常,表单会被提交到 web 服务器上的网页。
method表示提交的方式post,get
<form action="action_page.php" method="POST"> </form>
2 input
其中:
type表示类型(text、checkbox、button、password、checkbox、radio)
maxlength表示输入最长的字符数
<input type="password" name="" id="" value="" maxlength="6" />
<input type="checkbox" name="" id="" value="" />大战哥斯拉
<input type="checkbox" name="" id="" value="" checked="checked"/>对战卡蜜拉
3 select 下拉菜单
<select name="">
<option value ="">--height(m)--</option>
<option value="">2000</option>
<option value="">3000</option>
<option value="">4000</option>
<option value="