How to insert a photo in html. I am trying my best but still i not got susses.???? Please help me for this. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to insert a photo in html. I am trying my best but still i not got susses.???? Please help me for this.

https://code.sololearn.com/WgjyqEP4n7sT/?ref=app

4th Jan 2018, 8:10 AM
Ashish ranjan sharma
Ashish ranjan sharma - avatar
4 Answers
+ 1
You have to upload to some kind of image provider like imgur. Then you can use the absolute url of that image in your code. Relative urls only work on a server on which both files are in the same directory (pr routed from the same directory)
4th Jan 2018, 8:20 AM
romangraef
0
you cant insert it on that way here. You must use a picture from the internet.
4th Jan 2018, 8:18 AM
Ice
Ice - avatar
0
You need to use an image tag with a source atribute. <img src="url" /> Make sure however, that when you use images of the internet that are not your own, that you are still complying with copywrite law.
4th Jan 2018, 8:27 AM
josh mizzi
josh mizzi - avatar