html5_radio.html 606 B

12345678910111213141516
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>HTML5 form attribute test</title>
  6. </head>
  7. <body>
  8. <form action="advanced_form_post.php" method="POST" id="test-form">
  9. <input name="sex" type="radio" value="m" id="sex_m">
  10. <input name="sex" type="radio" value="invalid" form="another" id="sex_invalid" checked="checked">
  11. <input type="submit" value="Submit in form">
  12. </form>
  13. <input name="sex" type="radio" form="test-form" value="f" id="sex_f" checked="checked">
  14. <form id="another" method="post" action="advanced_form_post.php"></form>
  15. </body>
  16. </html>