Hello, please I'm adding img to my HTML and and is not running as an outcome, please help me | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Hello, please I'm adding img to my HTML and and is not running as an outcome, please help me

1st Apr 2020, 6:55 AM
Afolabi Zaka Adedeji
Afolabi Zaka Adedeji - avatar
7 Answers
+ 1
What response are you getting? Are you getting any syntax error? It could be your image directory is not properly set or your tags are not correct. Use this; if the image is on your computer. <img src="theimage.jpg"> Or this if the image is on the internet <img src="http://theimage.com"> Where <img Is the image element tag. Where 'src' Is the attribute for the source of the image. Where 'theimage' Is your directory or link for the image. If you need more explanations you can DM me
1st Apr 2020, 8:11 AM
Benjamin Patrick
Benjamin Patrick - avatar
+ 1
What are your questions Ayoko Elijah
8th Jun 2020, 6:16 AM
Benjamin Patrick
Benjamin Patrick - avatar
0
<img src="myimage.jpg"> use the correct image extension after confirming it from the image properties. some image extensions incluse .jpg, .tif, .gif, .png the example above its image has a .jpg extension.
1st Apr 2020, 7:24 AM
Isaac Kinyili
0
How did you write the code ?
1st Apr 2020, 7:32 AM
C0MM1T
C0MM1T - avatar
0
Please can we be friends
24th Apr 2020, 5:02 PM
Taiwo Ophycial
Taiwo Ophycial - avatar
0
25th Apr 2020, 1:56 AM
Benjamin Patrick
Benjamin Patrick - avatar
0
Guy I get plenty questions oo
6th Jun 2020, 8:58 AM
Ayoko Elijah