为什<br>标签 <>号一半是白色的
为什<br>标签 <>号一半是白色的
2016-10-18
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>form中的lable标签</title>
</head>
<body>
<form>
<div>你对什么感兴趣:</div>
<label for="one">慢跑</label>
<input type="checked" name="sport" id="one" />
<br />
<label for="two">登山</label>
<input type="checked" name="sport" id="two" />
<br />
<lable for="three">篮球</lable>
<input type="checked" name="sport" id="three">
<br />
<label for="email">输入你的邮箱地址</label>
<input type="email" id="email" placeholder="Enter email">
</form>
</body>
</html>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | <!DOCTYPE HTML> < html > < head > < meta http-equiv = "Content-Type" content = "text/html; charset=utf-8" > < title >form中的lable标签</ title > </ head > < body > < form > < label for = "male" >男</ label > < input type = "radio" name = "gender" id = "male" /> < br /> < label for = "female" >女</ label > < input type = "radio" name = "gender" id = "female" /> < br /> < label for = "email" >输入你的邮箱地址</ label > < input type = "email" id = "email" placeholder = "Enter email" > < br /> < label for = "run" >慢跑</ label > < input type = "checkbox" name = "interest" id = "run" /> < br /> < label for = "clam" >登山</ label > < input type = "checkbox" name = "interest" id = "clam" /> < br /> </ form > </ body > </ html > |
因为你的最后两个input元素没有结束标签
举报