首页 > 网站 > WEB开发 > 正文

HTML Notes

2024-04-27 14:32:13
字体:
来源:转载
供稿:网友

HTML Notes

Label tag and input in form

<form action="">  <label for="male">Male</label> //for and id should be same  <input type="radio" name="sex" id="male" value="male"><br>  <label for="female">Female</label>  <input type="radio" name="sex" id="female" value="female"><br><br>  <input type="submit" value="Submit"></form>
View Code


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表