<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>基础标签</title>
</head>
<body>
<!--表单标签:收集用户信息.包括<form></form>表单领、表单控件、提示信息-->
<form>
<!--表单控件:输入控件、下拉列表、文本域 -->
<!-- 输入控件:<input> -->
QQ:<input type="text"/>
<br>密码: <input type="password"/>
<br />性别:<input type="radio"name="xingbie" />男 <input type="radio"name="xingbie" />女
<br />爱好:<input type="checkbox" />打篮球<input type="checkbox"/>王者荣耀 <input type="checkbox" />睡觉觉<input type="checkbox" />吃饭饭<input type="checkbox" />
<br>
<br>
<br /><br>
<br />
<br>
<br />
<br /><input type="submit"/> <input type="reset"> <input type="button" value="发送验证码"/>
</form>
</body>
</html>
<!--下拉列表-->
<br />籍贯:<select>
<optgroup ladel="中国">
<option>中国</potion>
<option>非洲</potion>
<option>美国</potion>
</optgroup>
<optgroup ladel="省份">
<option>常山</potion>
<option>菲律宾</potion>
<option>贵州</potion>
</optgroup>
</select>
<!--文本域-->
<br />留言:<textarea></textarea>
html+css笔记---2021.03.02
最新推荐文章于 2022-08-09 21:02:19 发布