CBSE Class 10 Computer Applications Question 10 of 56

Forms and Frames — Question 2

Back to all questions
2
Question

Question 2

Write the HTML code to create the following form elements:

Write the HTML code to create the form elements. Forms and Frames, Computer Applications Code 165 Kips Cyber Beans Solutions CBSE Class 10.
Answer

HTML code to create the form elements is given below:

<HTML>
<HEAD>
<TITLE>Pizza Selection</TITLE>
</HEAD>
<BODY>
<FORM>
Pizza Size : <BR>
<INPUT TYPE = "RADIO" ID = "R1" NAME = "SIZE" VALUE = "SMALL" />
<LABEL FOR = "R1"> Small </LABEL> 
<BR>
<INPUT TYPE = "RADIO" ID = "R2" NAME = "SIZE" VALUE = "MEDIUM" CHECKED/>
<LABEL FOR = "R2"> Medium </LABEL> 
<BR>
<INPUT TYPE = "RADIO" ID = "R3" NAME = "SIZE" VALUE = "LARGE" /> 
<LABEL FOR = "R3"> Large </LABEL> 
<BR>
<INPUT TYPE = "SUBMIT" NAME = "Process Order" VALUE = "Click to order Pizza" /> 
<INPUT TYPE = "RESET" NAME = "Clear" VALUE = "Click to Clear" /> 
</FORM>
</BODY>
</HTML>