Ejemplo de formulario de inicio de sesión:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<form action="http://www.baidu.com" method=""> <!--action 为表单提交的地址-->
<table border="1px" cellspacing="0" cellpadding="">
<colgroup span="2" width="150px"></colgroup>
<col width="200px">
<tr height="20px" align="center">
<td rowspan="4">总体信息</td>
<td colspan="2"></td>
</tr>
<tr height="20px" align="center">
<td align="right">用户名:</td>
<td ><input type="text" name="loginname" id="" value=""/></td>
</tr>
<tr height="20px" align="center">
<td align="right">密码:</td>
<td><input type="password" name="pwd" id="" value="" /></td>
</tr>
<tr height="20px" align="center">
<td colspan="2">
<input type="submit" name="" id="" value="提交" /> <!--type需要时submit才会提交-->
<input type="reset" name="" id="" value="重置" /><!--type需要时reset才会重置-->
</td>
</tr>
</table>
</form>
</body>
</html>