表单
<!DOCTYPE html>
<html>
<head>
<title>表单</title>
<style type="text/css">
</style>
</head>
<body>
<form action="模拟服务器.html">
<label form="um">用户名</label>
<input id="um" type="text" name="wang"><br><br>
密码<input type="password" name="pwd"><br><br>
性别<input type="radio" name="gender" value="man">男
<input type="radio" name="gender" value="woman">女<br><br>
爱好<input type="checkbox" name="hobby" value="eat">吃饭
<input type="checkbox" name="hobby" value="play">玩游戏
<input type="checkbox" name="hobby" value="see">看电影<br><br>
你喜欢的明星
<select name="star">
<optgroup label="男">
<option value="szz" selected="selected">宋祖儿</option>
<option value="szz">宋祖儿</option>
</optgroup>
<optgroup label="女">
<option value="szz">宋祖儿</option>
<option value="szz">宋祖儿</option>
</optgroup>
</select><br><br>
自我介绍<textarea name="info"></textarea><br><br>
<input type="submit" value="注册">
<input type="reset">
<input type="button" value="按钮"><br><br>
<button type="submit">提交</button>
<button type="submit">重置</button>
<button type="submit">按钮</button>
</form>
</body>
</html>
框架集
<!DOCTYPE html>
<html>
<head>
<title>框架集</title>
</head>
<frameset cols="" ="50%,50%">
<frame src="表单.html"></frame>
<frame src=""></frame>
<frameset rows="50%,50%">
<frame src=""></frame>
<frame src=""></frame>
<frame src=""></frame>
</frameset>
</html>
属性hack
<!DOCTYPE html>
<html>
<head>
<title>属性Hack</title>
<style type="text/css">
body{
background-color: yellow;
_background-color: #bfa;
}
</style>
</head>
<body>
</body>
</html>
网友评论