Identify the error in the following HTML code: <HTML>
Identify the error in the following HTML code:
<HTML>
<BODY>
<FORM ID = "FORM1" METHOD = POST>
<BR> SELECT YOUR FAVOURITE CHANNEL :
NETFLIX <INPUT TYPE = CHECKSELECT>
AMAZON PRIME <INPUT TYPE = CHECKSELECT>
</FORM>
</BODY>
</HTML>
(a) NAME instead of ID and CHECKBOX instead of CHECKSELECT.
(b) METHOD = GET instead of POST.
Show answerHide answer
Correct answer: (A) Only (a) is correct
Explanation
Form controls need a NAME attribute to be submitted, and the input type for tick boxes is CHECKBOX. CHECKSELECT does not exist. METHOD = POST is valid, so only (a) is correct.