1.

Which selector is used to specify a rule to bind a particular unique element?(a) id(b) class(c) tag(d) both class and tagThe question was asked during an internship interview.Query is from Introduction to CSS topic in division CSS Fundamentals, Colors and Styling of CSS

Answer»

The CORRECT OPTION is (a) id

To elaborate: For binding a particular UNIQUE element, id selectors are used. While for group of elements, CLASS selector can be used.



Discussion

No Comment Found

Related InterviewSolutions