1.

Which type attribute of input element sets the element’s value to a string representing a number?(a) range(b) email(c) file(d) dateI had been asked this question at a job interview.This question is from Major HTML5 Themes topic in section HTML Markup, Forms, Video, Audio & Other Multimedia of HTML

Answer»

The CORRECT CHOICE is (a) range

For explanation: The input element with a type attribute whose value is “range” REPRESENTS an imprecise control for setting the element’s value to a STRING REPRESENTING a number.



Discussion

No Comment Found

Related InterviewSolutions