DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
HTML Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
easy
HTML
Why can't you use CSS `fill: blue` from the host page to change the color of an SVG embedded via `<img src="icon.svg">`?
A
The fill property doesn't exist in CSS
B
img-embedded SVG is rendered as an opaque image resource — the host page's CSS has no access to its internal DOM structure
C
SVG files can never be colored with CSS under any circumstances
D
This actually works fine, no restriction exists
Check Answer