How to add img in my html code by using img tag .as I don't know path of that image | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to add img in my html code by using img tag .as I don't know path of that image

as I don't know path of that image

24th Jan 2022, 10:15 AM
Seera Maheswari
Seera Maheswari - avatar
5 Answers
+ 1
Go to any image of your choice copy the link of the image, create a new folder on your android or pc paste the image link to the new folder go back to your html pad write <img src="example.jpg" > and save it with your html pad using example.html click output and see the image
24th Jan 2022, 10:21 AM
Haman Yunusa
Haman Yunusa - avatar
+ 1
Dont understand? Go to www.imgbb.com create account and they will guide you
24th Jan 2022, 10:23 AM
Haman Yunusa
Haman Yunusa - avatar
+ 1
<img src=" newfolder/image.png" alt=" "/> you have to write the whole path of your image if it is on your devise folders but it is good to use url online images
25th Jan 2022, 2:49 PM
RashidBik
RashidBik - avatar
0
<img src="image link" /> Can you show, your code how you are trying to add? ex: you can see a web code in my profile. https://code.sololearn.com/W4sS2s4sYpj7/?ref=app
24th Jan 2022, 10:21 AM
Jayakrishna 🇮🇳