CBSE Class 10 Computer Applications
Question 20 of 31
Solved 2023 Question Paper CBSE Class 10 Computer Applications (165) — Question 8
Back to all questions 8
Question Question 18(a)
Illustrate the use of the radio button input type on an HTML form with an appropriate code and the corresponding output.
HTML code for radio button is as follows:
<HTML>
<BODY>
<FORM>
Gender :
<BR>
<INPUT TYPE = "RADIO" ID = "R1" NAME = "GENDER" VALUE = "MALE" CHECKED/>
<LABEL FOR = "R1"> Male </LABEL>
<BR>
<INPUT TYPE = "RADIO" ID = "R2" NAME = "GENDER" VALUE = "FEMALE" />
<LABEL FOR = "R2"> Female </LABEL>
</FORM>
</BODY>
</HTML>