Explain the three main ways to target elements.



Explain the three main ways to target elements...

Answer / hrpynux@gmail.com

Type selectors (e.g. h1 ) and pseudo-elements (e.g. ::before )
Class selectors (e.g. . nav-item ), attributes selectors (e.g. [type="radio"] ) and pseudo-classes (e.g. :hover )
ID selectors (e.g. #example )

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More CSS Cascading Style Sheets Interview Questions

What are css sprites?

0 Answers  


What is VH/VW (viewport height/ viewport width) in CSS?

0 Answers  


What is hover effect?

0 Answers  


What is float in css?

0 Answers  


Why do we use webkit in css?

0 Answers  






How many types of css are there?

0 Answers  


Explain the difference between visibility: hidden and display: none?

1 Answers  


What is the current version of css?

0 Answers  


How are shorthand properties are used in css?

0 Answers  


What is css root?

0 Answers  


What do you understand by W3C?

0 Answers  


What are 3d transforms in css3?

0 Answers  


Categories