+ 2


so if you look on my profile you will see a code i am adding on to and at the bottom is an image link (due to me working on referencing outside links) so i took an image and copied the image link to the thing and when i run the program the link shows up yet when i click it the right side of code playground brings me to a picture of my code...it is easier to see by looking if you can please look and tell me what i am doing wrong please?

11th May 2017, 3:55 PM
Hunter Carwile
Hunter Carwile - avatar
4 Answers
+ 5
Did you want to replace the text link with the image refrenced? Below your first 'horde' image? You should replace: <a href>http://fc06.deviantart.net/fs71/i/2013/339/3/d/world_of_warcraft__forsaken_wallpaper_by_psychovivi-d6wszr0.jpg</a> ... by: <img src="http://fc06.deviantart.net/fs71/i/2013/339/3/d/world_of_warcraft__forsaken_wallpaper_by_psychovivi-d6wszr0.jpg" alt=""> ... so, for your two pictures, you'll get: <img src="http://www.symbols.com/gi.php?type=1&id=3292&i=1" height="50%" alt=""> <img src="http://fc06.deviantart.net/fs71/i/2013/339/3/d/world_of_warcraft__forsaken_wallpaper_by_psychovivi-d6wszr0.jpg" alt=""> Anyway, the slash at end of self closing tag ( <br>, <hr>, <img>... ) is unnecessary, and even more it's not valid ( browsers try to correct it, due to Html permissivity, but search engine will not appreciate, in addition to risk to be bad interpreted/corrected in future and/or in some browsers :P )
12th May 2017, 2:42 AM
visph - avatar
+ 4
For your information: <a> display a clickable link ( usually textual, but it can embed anything: see next ), while <img> display pictures ;) You can even do an image-link ( or any cotent as clickable link ) by embeding it in the <a> content: - displaying text link: <a href="url_to_go">text of link to display</a> - displaying image or any content link: <a href="url_to_go"><img src="img_url" alt="description"></a> ;)
12th May 2017, 2:49 AM
visph - avatar
+ 1
don't copy image link copy image address ok then it will come
11th May 2017, 4:04 PM
gunateja - avatar
@visph alright the first image is fine how it is.....the forsaken thing is what I was wondering about because like I said when I ran it it only gave me an image of my code ..thank you
12th May 2017, 2:43 AM
Hunter Carwile
Hunter Carwile - avatar