Tengo un código y no encuentro la ruta | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Tengo un código y no encuentro la ruta

Tengo un codigo web y no encuentro para la rutepara insertar imagen.help !!!!

19th Nov 2021, 5:16 PM
Natacha Velazco
Natacha Velazco - avatar
2 Answers
+ 4
Natacha Velazco is the image online or in your computer? If the image is online and you are in a computer you need to rigth click in it and then press copy link or drag the image to the bar where you search URLs. If it is in your computer on the same path as your HTML file simple add its name and extension in the src attribute (ex: src="my_img.jpeg"). If it is in a different path copy the path and write in the src attribute (ex: src="C:Users/directory/my_img.jpeg"). And if it is on your computer but your HTML file is not, try to post it online and put its URL in the src.
19th Nov 2021, 5:23 PM
Lebi
+ 1
If you're using the sololearn code playground you have to upload your image to an image host and provide a link to it. The sololearn playground can't access your local files.
19th Nov 2021, 5:42 PM
Simon Sauter
Simon Sauter - avatar