BootWiki教程网
源代码:
点击运行
<!DOCTYPE html> <html> <head> <meta content="width=device-width, initial-scale=1" name="viewport"> <link href="//cdn.staticfile.net/jquerymobile/1.4.5/jquery.mobile-1.4.5.min.css" rel="stylesheet"> <script src="//cdn.staticfile.net/jquery/1.10.2/jquery.min.js"></script> <script src="//cdn.staticfile.net/jquerymobile/1.4.5/jquery.mobile-1.4.5.min.js"></script> </head> <body> <div class="ui-content" data-role="main"> <form action="demoform.php" method="post"> <fieldset data-role="controlgroup"> <legend>请选择您的性别:</legend> <label for="male">男性</label> <input id="male" name="gender" type="radio" value="male"> <label for="female">女性</label> <input id="female" name="gender" type="radio" value="female"> </fieldset> <input data-inline="true" type="submit" value="提交"> </form> </div> </div> </body> </html>
运行结果