I cant add image to html | Sololearn: Learn to code for FREE!
+ 1

I cant add image to html

I have confusion in (src) and (alt) part.

15th Feb 2021, 2:35 AM
Tanvir
Tanvir - avatar
4 Answers
15th Feb 2021, 6:17 AM
Alphin K Sajan
Alphin K Sajan - avatar
+ 3
Explain which part is confusing Or even better, share a link to your problematic code for a review. Here's how you can share your code link 👇 https://www.sololearn.com/post/75089/?ref=app
15th Feb 2021, 3:02 AM
Ipang
15th Feb 2021, 8:24 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 1
If you are trying to add a picture from your device then you can't do that locally. Instead use Dropbox to upload your picture and create an external link. Or for testing purposes grab any link from an online source. Example: <img src="http://www.sololearn.com/images/tree.jpg" alt=" Image of a tree" />
15th Feb 2021, 1:48 PM
Chris Coder
Chris Coder - avatar