Hello! How to insert an image in an html document | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Hello! How to insert an image in an html document

insert an image

4th Oct 2022, 10:07 PM
melhisedec burdet
melhisedec burdet - avatar
2 Answers
+ 1
Just copy and replace this, <img src="filename.jpg"/> This is most useful for a local file (if the file is in the same folder as the html document you're trying to add it to) otherwise you'll need to include the filepath for the image. like so <img src="user/yourcomputer/images/filename.jpg"/> or you can place a link inside the quotation marks. I hope this helps :D
5th Oct 2022, 12:04 AM
Julian Carrasquillo
Julian Carrasquillo - avatar
+ 1
Thank you
5th Oct 2022, 5:37 AM
melhisedec burdet
melhisedec burdet - avatar