# I'm not able to use the SVG files

**URL:** <https://forum.codewithmosh.com/t/im-not-able-to-use-the-svg-files/12679>\
**Category:** HTML/CSS\
**Created:** [May 28, 2022, 1:55am UTC](https://forum.codewithmosh.com/t/im-not-able-to-use-the-svg-files/12679 "2022-05-28T01:55:19Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![452Sid](https://avatars.discourse-cdn.com/v4/letter/4/f08c70/32.png) [@452Sid](https://forum.codewithmosh.com/u/452Sid)\
**Post date:** [May 28, 2022, 1:55am UTC](https://forum.codewithmosh.com/t/im-not-able-to-use-the-svg-files/12679/1 "2022-05-28T01:55:19Z")

</div>

Hi guys

I’m trying to get the icons on my web page but for some reason it doesn’t show up.  
does anyone know what should I do or what the problem is?

Thanks

 ![Screen Shot 2022-05-27 at 6.52.30 PM](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/1/105042bc2e94fcb7dc98875b31fe61b6ec9ee71c.jpeg)

---

<div class="post-metadata">

**Author:** ![UniqueNospaceShort](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/uniquenospaceshort/32/1814_2.png) [@UniqueNospaceShort](https://forum.codewithmosh.com/u/UniqueNospaceShort)\
**Post date:** [May 30, 2022, 12:33pm UTC](https://forum.codewithmosh.com/t/im-not-able-to-use-the-svg-files/12679/2 "2022-05-30T12:33:21Z")

</div>

Hi,  
Never did that but I wonder why you are using an `xlink` namespace when there is no reference to such namespace. Examples I could find do not use it.

I’d say the problem lies there.

Regs.

---

<div class="post-metadata">

**Author:** ![Napter77](https://avatars.discourse-cdn.com/v4/letter/n/ed655f/32.png) [@Napter77](https://forum.codewithmosh.com/u/Napter77)\
**Post date:** [June 2, 2022, 3:47pm UTC](https://forum.codewithmosh.com/t/im-not-able-to-use-the-svg-files/12679/3 "2022-06-02T15:47:58Z")

</div>

Did you manage to fix this? I am having the same issue

Cheers

---

<div class="post-metadata">

**Author:** ![Napter77](https://avatars.discourse-cdn.com/v4/letter/n/ed655f/32.png) [@Napter77](https://forum.codewithmosh.com/u/Napter77)\
**Post date:** [June 2, 2022, 3:55pm UTC](https://forum.codewithmosh.com/t/im-not-able-to-use-the-svg-files/12679/4 "2022-06-02T15:55:22Z")

</div>

Turns out I was opening index.html from documents not live server. That fixed it.

---

<div class="post-metadata">

**Author:** ![452Sid](https://avatars.discourse-cdn.com/v4/letter/4/f08c70/32.png) [@452Sid](https://forum.codewithmosh.com/u/452Sid)\
**Post date:** [June 2, 2022, 4:14pm UTC](https://forum.codewithmosh.com/t/im-not-able-to-use-the-svg-files/12679/5 "2022-06-02T16:14:15Z")

</div>

Hi,

Thanks  
I’ll try it. I was just watching the tutorial and I did what Mosh was doing but I faced this issue.

---

<div class="post-metadata">

**Author:** ![452Sid](https://avatars.discourse-cdn.com/v4/letter/4/f08c70/32.png) [@452Sid](https://forum.codewithmosh.com/u/452Sid)\
**Post date:** [June 2, 2022, 4:16pm UTC](https://forum.codewithmosh.com/t/im-not-able-to-use-the-svg-files/12679/6 "2022-06-02T16:16:01Z")

</div>

Glad to hear that, but mine still is not fixed.

---

<div class="post-metadata">

**Author:** ![Daniel007](https://avatars.discourse-cdn.com/v4/letter/d/977dab/32.png) [@Daniel007](https://forum.codewithmosh.com/u/Daniel007)\
**Post date:** [November 7, 2022, 4:50pm UTC](https://forum.codewithmosh.com/t/im-not-able-to-use-the-svg-files/12679/7 "2022-11-07T16:50:49Z")

</div>

Hello guys! I am having some trouble with svg sprites in Icons component part 3 HTML/CSS course.  
I followed the same instructions but there is no icons displayed in my “Chrome”browser.  
I created the sprite file from the svgsprint.es website and downloaded that file and pasted it on the images folder.  
And followed the same instructions but my browser doesn’t display any icons that i wanted to display.  
Can anyone help me to solve this issue? I have been stuck with these for a while and searched around and not seen a working solution. thanks.  
i have cross checked my code severally
