- <html>
- <head>
- <title>中国站长天空-网页特效-表单特效-点击文字选中的复选框</title>
- <meta http-equiv="content-Type" content="text/html;charset=gb2312">
- </head>
- <body>
- <!--把下面代码加到<body>与</body>之间-->
- <form>
- <label for="check1"><a target="new" href="www.baidu.com">姓名</a></label>
- <input type="checkbox" id="check1" value="123" name="name">
- <label for="check2">密码</label>
- <input type="checkbox" id="check2" value="456" name="name">
- <label for="male">Male</label>
- <input type="radio" name="sex" id="male" />
- <br />
- <label for="female">Female</label>
- <input type="radio" name="sex" id="female" />
- </form>
- </body>
- </html>
点击文字选中选框
最新推荐文章于 2022-09-20 21:43:47 发布