1.

Which is the new attribute of element that is used to change the appearance of checkbox?(a) Indeterminate(b) Media(c) EI(d) TargetThe question was asked in unit test.The doubt is from Elements and Attributes to Support Web Applications topic in chapter HTML Markup, Forms, Video, Audio & Other Multimedia of HTML

Answer»

Correct ANSWER is (a) INDETERMINATE

Easy explanation: The indeterminate is ACTUALLY not an attribute, it is the PROPERTY of checkbox which can be change via JAVASCRIPT, e.g. Var checkbox=document.getElementById(“any-checkbox”); Checkbox.indeterminate=true;



Discussion

No Comment Found

Related InterviewSolutions