Answers for "add folder of images to html"

2

html add image from folder

<img src="/images/flowers.jpg" alt="A Flower Bouquet"/>
<img src= "./flowers.jpg" alt="A Flower Bouquet"/>
<img src="../otherImages/flowers.jpg" alt="A Flower Bouquet"/>
Posted by: Guest on May-31-2021
1

how to add image in html from a folder

|-> myhtmlfiles
      |-> index.html
|-> images
      |-> my_image.jpg

<img src="../images/my_image.jpg">
Posted by: Guest on May-21-2020

Browse Popular Code Answers by Language