实例首页
自学教程
IT工具箱
源代码
下载代码
上下布局
点击运行 >
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>html label 实例 - 自学教程(runoops.com)</title> </head> <body> <p>点击其中一个文本标签选中选项:</p> <form action="//demo.runoops.com/php/demo-form.php"> <label for="male">Male</label> <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="提交"> </form> </body> </html>
运行结果: