0

How can I use images in HTML?

I can not use images in HTML. Do I have to change something in the URL? I can only See the value of the "alt"-Attribute. https://code.sololearn.com/W2Ndk30vWf3U/?ref=app

11th Aug 2018, 11:00 AM
Dat_Boi
Dat_Boi - avatar
4 ответов
+ 6
Just as Janning said, the link of the image should be used, not the page. Here's the link: https://media.istockphoto.com/photos/path-across-the-lake-wild-meadow-flowers-forest-landscape-in-summer-picture-id914652576 Replace the link in the src attribute with this and it will work.
11th Aug 2018, 11:11 AM
Harsh
Harsh - avatar
+ 12
you can use some online file hosting service. Refer this post.👇 https://www.sololearn.com/discuss/1054246/?ref=app
11th Aug 2018, 12:22 PM
Jaydeep Khatri
Jaydeep Khatri - avatar
+ 1
Make sure you have the link to the image file, not the page that happens to have the picture on it. Chances are you will have to purchase this particular picture in order to be able to use it.
11th Aug 2018, 11:05 AM
Janning⭐
Janning⭐ - avatar
+ 1
Hello, Milchbrötchen ! Please, before publishing the question, make sure that a similar question was not asked, someone before you. For this, you can use the search function in the SoloLearn community, this will help to find the answer to your question, also it will help prevent duplication of questions. https://www.sololearn.com/Discuss/448394/how-can-i-insert-image-in-html https://www.sololearn.com/Discuss/914424/?ref=app https://www.sololearn.com/Discuss/807227/?ref=app Good luck in programming on SoloLearn!
11th Aug 2018, 11:16 AM
Alexander Sokolov
Alexander Sokolov - avatar