<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<!--
The form tag
action:the address of submit
method:
get:default submission method,will concatenate(拼接) the parameters in the link
it has the size bound(大小限制),so don't use get if you transmit large data
post:Encapsulate(封装) parameters(参数) in the request body
it hasn't size bound.
input:
type:the type of input item(项)
name:it is regarded as the name of parameters when the form is submitted.
id:name the input item to facilitate us to find it when we use it
-->
<form action="Home page.html" method="get">
<!--
the distinction between post and get
link:https://blog.csdn.net/FZUMRWANG/article/details/89484399
-->
<!-- if you use "post,it will hidden the parameters" -->
<!--
hidden area:mainly used to store some ID message in the page
-->
<input type="hidden" value="djfjskfjskfajs" />
<!--文本输入框-->
<!-- if you input data in the text and click the submit button,the name and the data will appear at website links-->
用户名:<input type="text" name="username" id="123" /> <br />
<!--密码框-->
密码:<input type="password" /> <br/>
确认密码:<input type="password" /> <br />
邮箱:<input type="text" /> <br />
手机号码:<input type="text" /> <br />
照片:<input type="file" /> <br />
<!--radio取相同的名字表示一组就能实现单选效果-->
性别:<input type='radio' name='sex' />男<input type='radio' name='sex' />女 <br />
爱好:
<input type="checkbox" />抽烟
<input type="checkbox" />喝酒
<input type="checkbox" />撸代码
<input type="checkbox" />大保健
<br />
择偶要求:<textarea clos="40" rows="4">身材火辣</textarea>
<br />
籍贯:
<select>
<option>--请选择--</option>
<option>湖北</option>
<option>内蒙</option>
</select>
<br />
验证码:<input type='text' /> <br />
<input type="submit" value="sign in" />
<input type="submit" value="sign up" />
<input type="button" value="ordinal(普通的) button" />
<input type="reset" value="reset button" />
</form>
</body>
</html>