Answers for "img src from folder 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
7

path in html

/   = Root directory
   .   = This location
   ..  = Up a directory
   ./  = Current directory
   ../ = Parent of current directory
   ../../ = Two directories backwards
Posted by: Guest on March-26-2020
0

html not showing image with full path

use forward slah at the end of the sorce . example = <img src = "c:\bla bla\photo.jpg"/>
Posted by: Guest on October-17-2020

Browse Popular Code Answers by Language