Advertisements
Advertisements
प्रश्न
Which of the following tags will clear the contents of the form?
पर्याय
<INPUT TYPE="CLEAR" VALUE="Clear the form"><INPUT TYPE="SUBMIT" VALUE="Clear the form"><INPUT TYPE="RESET" VALUE="Clear the form"><INPUT TYPE="BUTTON" VALUE= "Clear the form">
MCQ
Advertisements
उत्तर
<INPUT TYPE="RESET" VALUE="Clear the form">
Explanation:
An input with type="reset" resets (clears) the form controls back to their initial/default values when clicked. A reset button “automatically resets form controls to their initial values” (so it clears text boxes, unchecked checkboxes, etc., unless they had nonempty default values).
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
