1.

Which of the following detects support for the method of the form?(a) input formtarget(b) input formmethod(c) input formenctype(d) input formactionThis question was posed to me in an interview.I'm obligated to ask this question of Adding HTML features safely with Modernizr in division HTML Images & Web Page Files of HTML

Answer» RIGHT OPTION is (B) INPUT formmethod

Easy explanation: input formmethod detects support for formmethod attribute, input formtarget detects for formtarget attribute on forms, input formenctyp detects for the support of formenctype attribute, it overrides form enctype attribute, input formactin detects for the support of formaction attribute.


Discussion

No Comment Found

Related InterviewSolutions