Loading

Quipoin Menu

Learn • Practice • Grow

css / Element Selector
interview

Q1. What is an element selector?
Element selector targets all instances of an HTML tag: p { } selects all paragraphs.

Q2. What's another name for element selector?
Type selector, because it selects by element type.

Q3. Can element selector target multiple tags?
For multiple, use group selector: h1, h2, h3 { }

Q4. What is the specificity of element selector?
Lowest specificity (1), overridden by class and ID selectors.

Q5. Give example of element selector usage.
a { text-decoration: none; } removes underline from all links.