1.

Which attribute is not used for the radio type?(a) name(b) value(c) checked(d) selectedThis question was posed to me in an interview for job.My enquiry is from Input Types for Forms topic in portion HTML Markup, Forms, Video, Audio & Other Multimedia of HTML

Answer»

The correct option is (d) SELECTED

For explanation: When we want to pick ONE option from the given many OPTIONS we use radio TYPE. NAME attribute sent the value of the option selected to the server. Value attribute indicates the value that has been sent to the server for the selected option. The checked attribute indicates that which value should be selected on the loading of the page.



Discussion

No Comment Found

Related InterviewSolutions