+ 2

How to add a image in html

In order to add a image do we have to provide the link of images or the place where its stored in our pc

28th Jun 2017, 5:38 AM
Pranay
4 Answers
+ 8
1. External image <img src="URL" /> 2. Local image <img src="path" />
28th Jun 2017, 5:47 AM
êč€ì •ì œ(Legacy)
êč€ì •ì œ(Legacy) - avatar
+ 1
A hyperlink to the image of course. You may upload your image from your computer or mobile device to www.imgur.com for free and use the hyperlink generated automatically by this server.
28th Jun 2017, 5:42 AM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar
0
For sololearn programs you can't put images stored on your device so you might have to use a CDN (content delivery network) to link images in the page or use data uri images by converting your images into text that HTML can display as a image.. You can convert your images here https://websemantics.uk/tools/image-to-data-uri-converter/ https://code.sololearn.com/WC54BZf4fJ94/?ref=app
4th Sep 2017, 3:02 AM
Kalo 'smi
Kalo 'smi - avatar