Skip to content
Related Articles

Related Articles

Web technologies Questions | CSS Quiz | Set-2 | Question 2

View Discussion
Improve Article
Save Article
Like Article
  • Last Updated : 29 Sep, 2021

Which css selector is used to defining the style for unique elements ?
(A) id
(B) text
(C) class
(D) name


Answer: (A)

Explanation: The id selector is used to set the style of the given id The id attribute is unique in an HTML document.

Quiz of this Question
Please comment below if you find anything wrong in the above post

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!