write the example for type selectors
navneet224:
hlo
Answers
Answered by
17
The CSS type selector matches elements by node name. In other words, it selects all elements of the given type within a document. /* All <a> elements. element { style properties } span { background-color: skyblue; } <span>Here's a span with some text.</ span> <p>Here's a p with some text.</
Answered by
1
Answer:
We can divide CSS selectors into five categories: 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)
Explanation:
hope it's helpful
Similar questions
English,
21 days ago
History,
21 days ago
Computer Science,
21 days ago
India Languages,
1 month ago
Physics,
1 month ago
Physics,
7 months ago
Geography,
7 months ago