哪有问题?为什么要我再试试
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>单选框、复选框</title> </head> <body> <form action="save.php" method="post"> <label>性别:</label> <label>男</label> <input type="radio" value="1" name="gender" checked="checked"/> <label>女</label> <input type="radio" value="2" name="gender" checked="checked"/> </form> </body> </html>