identify the selectors of .colorChange { color : magenta}
a. universal selector
b. class selector
c. element selector
d. id selector
Answers
Answered by
0
Answer:
class selector begins with dot
Explanation:
Answered by
0
Answer:
The correct answer is b. class selector.
Explanation:
The class selector allows you to select all items that have the supplied class name and apply styles to all of them. A period (.) must precede the class name in the selection. The browser will check for that class name in all tags on the page with a class attribute.
The class selector is used to pick all components that have the same class property. Use the period (.) character to indicate the class name, and it will match the HTML element based on the contents of their class attribute.
#SPJ3
Similar questions
Political Science,
1 month ago
Chemistry,
1 month ago
History,
1 month ago
Social Sciences,
3 months ago
Math,
3 months ago
Math,
10 months ago
Math,
10 months ago