MCQs > IT & Programming > XHTML > You placed four radio buttons on a web form. You want the users to specify whether they are male or female and whether they are married or single.

XHTML MCQs

You placed four radio buttons on a web form. You want the users to specify
whether they are male or female and whether they are married or single. The code
is as follows:
Male: <input type="radio" checked="checked" name="chk" value="male" />
Female: <input type="radio" name="chk" value="female" />
Married: <input type="radio" checked="checked" name="chk" value="married" />
Single: <input type="radio" name="chk" value="single" />
What is wrong with the above code?

Answer

Correct Answer: It will allow the user to choose only one option out of the four

Explanation:

Note: This Question is unanswered, help us to find answer for this one

XHTML Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

More XHTML MCQ Questions