Beginner
HTML & CSS
Q25 / 100
What does the "class" attribute allow you to do?
Correct! Well done.
Incorrect.
The correct answer is B) Apply the same CSS styles or JavaScript behavior to multiple elements by sharing a common name
B
Correct Answer
Apply the same CSS styles or JavaScript behavior to multiple elements by sharing a common name
Explanation
Unlike "id" (which should be unique per page), "class" can be applied to multiple elements, enabling shared styling.
Progress
25/100