Need help having the images show, I’ve checked and the files are the in the dire
ID: 3736519 • Letter: N
Question
Need help having the images show, I’ve checked and the files are the in the directory. I switched “” in photo-1 to see if that was the problem but it’s not.x photo-1jpg cstyle> ul.Galleryl flost: left margin: Opx padding: 10p border: 1px solid list-style: none ul.Gallery . ing float:left height:20epx 17 width:200px 21 /style 25 epusing the transition propertyc/p> nav> cing scre"Users/humph/Desktop/photo-1.jPE la /1i> ca href> cing scre"Users Vhumph VDesktopLphoto-2.jp> /html>
Explanation / Answer
Hi, there may be two reasons why the images aren't getting loaded.
There seems to be a typo in the img tag in your code: <img scr=...> Please change this to <img src=...>
Also, you need to use relative paths in your web-pages to ensure that the images load instead of using the local path on the disk. I'd suggest that instead of loading the images from the desktop, first create an folder named 'images' in the folder where you have saved your html file. Then copy the images into the 'images' folder and change the img tag code to :-
<img src=imagesphoto-1.jpg>
<img src=imagesphoto-2.jpg>
<img src=imagesphoto-3.jpg>
Hope this helps!
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.