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 the difference between margin & padding?

0 Answers  


What are the css frameworks?

0 Answers  


Why is the external style sheet useful?

0 Answers  


Is css3 backwards compatible?

0 Answers  


What is : focus- within ?

1 Answers  






What is the class selectors used for?

0 Answers  


What is css font family?

0 Answers  


What is the style attribute?

0 Answers  


How to include CSS in the web page?

1 Answers  


Does important override inline?

0 Answers  


What is a flexbox layout?

0 Answers  


How is the concept of inheritance applied in css?

1 Answers  


Categories