Is it possible to use HTML to add images to your code on your phone? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Is it possible to use HTML to add images to your code on your phone?

I am trying to add an image but when i try to, it won't let me. (I'm using phone) I did this: <img href="(the url of pic)">

5th Dec 2018, 4:21 PM
Lucamon
Lucamon - avatar
3 Answers
+ 8
// Hi Lucamon, // You use href for the img, to display a image, you must use a src. // For example : <img src="image.png" /> // /!\ : Please, use a search bar before publishing your question.
5th Dec 2018, 4:35 PM
program
program - avatar
+ 7
Upload content from your device to CodePlayground https://code.sololearn.com/WW6t4B73kJVz/?ref=app An easy way to upload your own image to SoloLearn! ;) https://www.sololearn.com/Discuss/389765/?ref=app
5th Dec 2018, 4:41 PM
Danijel Ivanović
Danijel Ivanović - avatar
0
Wow ok, thanks to both of you! (Sorry for not using the search bar)
5th Dec 2018, 4:48 PM
Lucamon
Lucamon - avatar