Pls how do i add the image ... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Pls how do i add the image ...

how do make the image display

2nd Jan 2018, 5:26 PM
Moluno Ifeakachukwu Elvis
Moluno Ifeakachukwu Elvis - avatar
9 Answers
+ 15
You should use <img> tag and src attribute like this:- <img src="url" />
2nd Jan 2018, 10:42 PM
UnknownYmous
+ 2
if you want to use a file from your phone, only you will be able to use it and you use the src="file:///..." and replace "..." with the path in your phone
21st Jan 2018, 6:31 AM
Andrei Cereanu
Andrei Cereanu - avatar
+ 1
i like to use ftp for the server that my site is based on, if you are using a website with a server, upload it to there, you can also use social media, post it on social media, go on computer, find social media, find image on social media, right click the image, click "open image in new tab", copy the url, paste in src.
2nd Jan 2018, 10:36 PM
vortetty
vortetty - avatar
0
<img>
2nd Jan 2018, 5:30 PM
Alexandria McGillivray
Alexandria McGillivray - avatar
0
I know the tag but must use url before it dsiplay
2nd Jan 2018, 5:33 PM
Moluno Ifeakachukwu Elvis
Moluno Ifeakachukwu Elvis - avatar
0
<img src="url">
2nd Jan 2018, 5:34 PM
Alexandria McGillivray
Alexandria McGillivray - avatar
0
what if I have the image on my PC...and I want to use that
2nd Jan 2018, 5:41 PM
Moluno Ifeakachukwu Elvis
Moluno Ifeakachukwu Elvis - avatar
0
The image needs to be in the same folder that your html page is in, then create a href to that folder with the picture name at the end. Example: <img src="C:\users\home\pictures\picture.png"/> Or you need to upload it to something like Flickr where it would have a url
2nd Jan 2018, 8:05 PM
Alexandria McGillivray
Alexandria McGillivray - avatar
0
thanks this really helped
2nd Jan 2018, 10:44 PM
Moluno Ifeakachukwu Elvis
Moluno Ifeakachukwu Elvis - avatar