Home » Interview » Technology

What is CSS selector?

Correct Answer: - Basically it is a string that identifies the elements to which a particular declaration or set of declarations will apply - It can also be referred to as a link between the HTML document and the style sheet - It is equivalent of HTML elements For example : A {text-indent: 12pt} Here, the selector is A, which is called as type selector

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion