Good morning all. Please I want to know how to code for image because i used the src attribute but the image didn't show | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Good morning all. Please I want to know how to code for image because i used the src attribute but the image didn't show

image coding

28th Sep 2018, 9:57 AM
Prince Chukwuma
7 Answers
+ 2
Prince Chukwuma , read the tutorial!! This tutorial may help you to upload image on the code playground of SoloLearn!¡ https://code.sololearn.com/WW6t4B73kJVz/?ref=app
24th Nov 2018, 12:12 PM
AL Araf
AL Araf - avatar
0
Its hard help you without see least your img element code because problem can be everywhere: in syntax, in wrong url, in server that give you the image....
28th Sep 2018, 10:17 AM
KrOW
KrOW - avatar
0
OK I will send it
28th Sep 2018, 10:20 AM
Prince Chukwuma
0
If its a small code, copy/paste BUT if you want send long code, please, save in "Code Playground" section your code and post here his url
28th Sep 2018, 10:21 AM
KrOW
KrOW - avatar
0
/b> and <b>baking</b> within my society.</i></p> <img src="b.jpg" heigth="1024px" width="768px" border="1px" alt="" />
28th Sep 2018, 10:27 AM
Prince Chukwuma
0
that's it
28th Sep 2018, 10:27 AM
Prince Chukwuma
0
src attribute want a path to image and a path would be relative (like in your case) or absolute... Because your putted a relative path, the image "b.jpg" have to be in same directory of html (except of you modified the base tag) but this dont work on SL because: - on SL web version, PROBABLY dont exist a file "b.jpg" on html dir on SL server - on SL app version, html is loded by a string then you have to put only absolute paths (excepts if you declare a base element) Now, i want ask you, the problem raise on SL or an html page on your LOCAL system?
28th Sep 2018, 10:32 AM
KrOW
KrOW - avatar