problem with path of image, beginners html and css |
problem with path of image, beginners html and css |
ahnam |
Apr 16 2021, 05:31 AM
Post
#1
|
Group: Members Posts: 8 Joined: 7-April 21 Member No.: 27,885 |
Backoud info:
The HTML is in folder C:\Users\anine\Documents\CSS Learn The images are in folder C:\Users\anine\Documents\CSS Learn\image The path on the images in the HTML is <!DOCTYPE html> <html lang="en"> <head> <link rel="stylesheet" type="text/css" href="style.css"> </head> <body> <h2 class="subtitle">About this image 1</h2> <img src="..\image\logo.png"> <br> <h2>About this image 2</h2> <img src="..\image\img_white_flower.jpg"> </body> </html> If I put the imges in the HTML path then the images are displayed. When I put them in the image folder then they are not displayed. I put the whole path in - images not displayed I change the \ the / - images not displayed I made sure that the name of the images are corrects - images not displayed Can somebody be so kind as to show me what I am doing wrong because I am not stuck? |
ahnam |
Apr 16 2021, 06:44 AM
Post
#2
|
Group: Members Posts: 8 Joined: 7-April 21 Member No.: 27,885 |
Thanks you very much pandy!!!!!
|
pandy |
Apr 16 2021, 07:10 AM
Post
#3
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,733 Joined: 9-August 06 Member No.: 6 |
You are welcome.
|
Lo-Fi Version | Time is now: 28th April 2024 - 09:36 AM |