1.

How does the color attribute work?(a) Changes color of the text(b) Changes background color(c) The color picker is defined by it(d) Changes color of the text as well as backgroundI got this question in exam.Question is taken from Input Types for Forms in chapter HTML Markup, Forms, Video, Audio & Other Multimedia of HTML

Answer»

The CORRECT CHOICE is (c) The color picker is defined by it

The explanation: color is the attribute of element introduce by HTML5. It DEFINES the color picker i.e we can SELECT a color of our choice from the color picker. SYNTAX is Select the color that you want:



Discussion

No Comment Found

Related InterviewSolutions