<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<form action="" method="">
<table width="600px" border="1px" cellspacing="0" cellpadding="">
<tbody>
<tr height="40px">
<td rowspan="4" align="center">总体信息</td >
<td colspan="2"></td>
</tr>
<tr height="40px">
<td align="center">用户名</td>
<td><input type="text" name="" id="" value="" /></td> </tr>
<tr height="40px">
<td align="center">密码</td>
<td><input type="password" name="" id="" value="" />
</td>
</tr>
<tr height="40px">
<td colspan="2"><input type="submit" name="" id="" value="提交" />
<input type="button" name="" id="" value="重置" />
</td>
</tr>
</tbody>
</table>
</form>
</body>
</html>
- form must have action property, which is the address submitted
- All data required to submit, input must have a name attribute
- input text button, use value property represents
- input must be placed inside the form tag to submit
- type of type
- text: text entry box
- password: password input box
- radio: radio button
- checkbox: check box
- button: push button
- reset: reset button
- file: file selection box
- get the difference between the request and post requests
- get usually retrieves data
- post usually expressed submit data
- Data get sent are written in the address bar, visible to the user
- Transmitting user data is not visible post
- can not get a request to submit large amounts of data, but you can post, so do not mix