html基础
<!DOCTYPE html><html>
<head>
<meta charset="UTF-8">
<title>我的第一个网页</title>
<style type="text/css">
body{background-color: beige;}
textarea{resize: none;}
</style>
</head>
<body>
<h1>CSS禅意花园</h1>
<p>来源:百度 发表时间:2013-12-24</p>
<h2><a href="javascript:;" target="_blank">关于本书</a></h2>
<h2><a href="#">空连接</a></h2>
<h2><a href="javascript:;">空连接</a></h2>
<!-- 表单 -->
<form accept="http://www.baidu.com" method="POST">
账户:<input type="text" va lue=""/><br/>
密码:<input type="password" value=""/><br/>
单选框:<input type="radio" name="xb" id="nan"><label for="nan">男</label>
<input type="radio" name="xb" id="nv" checked="checked"><label for="nv">女</label><br/>
复选框:<input type="checkbox" id="chifan"/><label for="chifan">吃饭</label>
<input type="checkbox" id="shuijiao"/><label for="shuijiao">睡觉</label>
<input type="checkbox" id="shangban"/><label for="shangban">上班</label><br>
来自:<select> name="">
<option value="">北京</option>
<option value="">上海</option>
<option value="">广州</option>
<option value="" selected="selected">深圳</option>
</select><br>
文本域:<textarea name="" ></textarea><br>
<input type="submit" value="点击提交"> <input type="reset" value="重置">
</form>
</body>
</html>
页:
[1]