Home > Blockchain >  I put an image in my html file but it doesn't load
I put an image in my html file but it doesn't load

Time:08-07

<img src="file:///C:/Users/muham/Desktop/HTML/Akaria.jpeg" alt="Akaria logo">

This is what I write on the Atom Text editor, but the image doesn't load

CodePudding user response:

enter image description here

img element in your index.html:
<img src="assets/images/some-picture.jpg" alt="">

CodePudding user response:

First make a folder than copy your files in it and make an image folder place all your images there and then give the right path in the image src it will work.

like this:

  •  Tags:  
  • html
  • Related