I think it is a basic problem but I haven't found solution.
Basically I created a website (HTML,CSS,JS)
, then uploaded it to the host server via FileZilla. Everything works perfectly.
However when I downloaded the files (from the server) on a different PC, I opened .html
file with web browser and it doesn't display SVG images. It happened few times in the past. What could be the problem? I tried using Mozilla and Edge.
<svg class="navigation__icons">
<use xlink:href='img/sprite.svg#logo-instagram'></use>
</svg>
question from:
https://stackoverflow.com/questions/65830749/svg-doesnt-display-while-opening-html-file 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…