Intermediate
HTML & CSS
Q53 / 100
What does the CSS pseudo-element "::before" do?
Correct! Well done.
Incorrect.
The correct answer is B) Inserts generated content immediately before the element's actual content, inside the element
B
Correct Answer
Inserts generated content immediately before the element's actual content, inside the element
Explanation
::before (with the "content" property) generates and inserts content as the first child of the selected element, often used for decorative icons or labels.
Progress
53/100