表单
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>表单</title>
</head>
<body>
<a href="http://www.baidu.com">百度</a>
<form action="http://www.baidu.com">
<input type="submit" value="百度" />
<input type="button" value="百度(普通按钮)" />
</form>
<input type="submi" value="百度(外)" />
</body>
</html>
登录表单
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>登录表单</title>
</head>
<body>
<form action="http://http://192.168.145.2:8080//crm/login">
用户名:<input type="text" name="x"/>
<br />
密 码:<input type="password" name="y" />
<br />
<input type="submit" value="登录" />
</form>
</body>
</html>
用户注册的表单
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>用户注册的表单</title>
</head>
<body>
<form action="http://localhost:80/crm/register">
用户名:<input type="text" name="username" />
<br />
密码:<input type="password" name="userpwd" />
<br />
性别:
<input type="radio" name="sex" value="1" checked/>男
<input type="radio" name="sex" value="0"/>女
<br />
兴趣:
<input type="checkbox" name="aihao" value="smoke" />抽烟
<input type="checkbox" name="aihao" value="drink" checked/>喝酒
<input type="checkbox" name="aihao" value="firehair" />烫头
<br />
学历:
<select name="xueli">
<option value="gz">高中</option>
<option value="zk">专科</option>
<option value="bk" selected>本科</option>
<option value="ss">硕士</option>
</select>
<br />
简介:
<textarea rows="10" cols="60" name="jianjie"></textarea>
<br />
<input type="submit" value="注册"/>
<input type="reset" value="重置" />
</form>
<input type="reset" value="重置(外)" />
</body>
</html>