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

Does id override class?

0 Answers  


What is the syntax to link external style sheet?

0 Answers  


What is universal selector?

0 Answers  


What are the various font-related attributes in css?

0 Answers  


What are css3 media types?

1 Answers  






How to align image vertically in a division which spans vertically in the whole webpage?

0 Answers  


What are the advantages of inline css?

0 Answers  


What is the order of precedence for css?

0 Answers  


What is mixins in css?

0 Answers  


What is webkit in css?

0 Answers  


What are the css3 modules?

1 Answers  


How to apply stroke and fill-color to text ?

1 Answers  


Categories