How to add a image in html from mu pc offline | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to add a image in html from mu pc offline

please help me out

16th Jun 2017, 5:54 PM
junkyards 'the great workers'
junkyards 'the great workers' - avatar
2 Answers
+ 11
Use a local path : <img src = "path/dog.png" alt = "just a dog"> Replace "path" with the your picture's path. To show your picture in the CodePlayground (and make it available to all) it is required an internet connection for choose the image and insert the remote path : <img src = "http://test.com/cat.png" alt = "just a cat">
16th Jun 2017, 6:11 PM
Maz
Maz - avatar
0
ok it needs a internet
16th Jun 2017, 6:19 PM
junkyards 'the great workers'
junkyards 'the great workers' - avatar