Examveda
Examveda

Which of the following selectors selects any tag with an id attribute set?

A. E#id

B. .class

C. #id

D. *

Answer: Option C

Solution(By Examveda Team)

Example:#test {color: green;}
/* makes a tag with id=’test’ green */

This Question Belongs to CSS >> CSS Selectors And CSS Files

Join The Discussion

Related Questions on CSS Selectors and CSS Files