What are the different types of Selectors in CSS?



What are the different types of Selectors in CSS?..

Answer / hrpynux@gmail.com

Simple selectors (select elements based on name, id, class)
Combinator selectors (select elements based on a specific relationship between them)
Pseudo-class selectors (select elements based on a certain state)
Pseudo-elements selectors (select and style a part of an element)
Attribute selectors (select elements based on an attribute or attribute value)

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More CSS Cascading Style Sheets Interview Questions

What are pseudo-elements?

0 Answers  


What is the difference between id and class in css?

0 Answers  


What is the purpose of % measurement unit?

0 Answers  


What are functions/mixins?

1 Answers  


What is the use of cascading style sheets?

0 Answers  






What are the necessities of using html forms?

0 Answers  


What is the syntax to link external style sheet?

0 Answers  


Can I use scss in css?

0 Answers  


How to use css selector?

0 Answers  


List some css3 new style properties?

0 Answers  


Can I use css grid?

0 Answers  


How stacking context is formed?

0 Answers  


Categories