+ 2
How to add image in html
give an example
19 Respostas
+ 11
<img src=/folder/image.jpg>
+ 7
😉😉😉 I'm 10 Years Old 😉😉😉 Your Welcome from all of the who answer your question
+ 7
yeah I love it too but its 30 days trial so I need to crack the system 😐😐
+ 6
nope you can't if your websites online if offline you can but its difficult because its only can in software that help create website (offline) and if you don't remember/ know the link use Google drive for link or imigur
+ 4
what do you mean ???
+ 3
use a DreamWever program its easy to write code for make a website and this program help you to not write the root of folder because the program just ask you where the place of your photo , then it complete the root folder automatically
+ 2
If you take the image online, than just copy the image adress and paste it intead of .... So src="..."
Example <img src="http.shsjkak.jpg" alt=""/>
If you take the image from a file in computer than at src "" put the name of file and and add .jpg or .png(depends on image...)
+ 2
Correct the syntax following the previous examples!!!
It should be <img src="imagename" alt="" />
+ 1
I am just 15
0
but how to add from my website folder
0
In HTML, images are defined with the <img> tag. The "src" attribute specifies the URL (web address) of the image. The "alt" attribute specifies an alternative test that is displayed when the image can't be loaded. <img src="SoloLearn.jpg" alt="The SoloLearn Logo">
0
I mean I have typed <I'm src-"Bilal/website/2/Biology.jpg"/>
0
still Internet explorer or Mozilla not showing image
0
If it's still not showing in the browser, it's an issue with the URL.
If you are linking an image in your local drive, be sure to specify its full path:
file:///C:/Users/User Name/Documents/Pictures/image.jpg
If you are linking an image from the internet, be sure to specify its full path also:
http://www.domain.com/path/image.jpg
0
I have done it
THANKS A LOT FOR EVERYONE'S HELP
0
so happy
0
thanks
0
Images
https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Images_in_HTML
audio:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio
video:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video
How To Upload your phone images on SoloLearn using phone
https://code.sololearn.com/WT3661NHpV3B/?ref=app
Upload content with Dropbox [Tutorial]
https://code.sololearn.com/WW6t4B73kJVz/?ref=app
How to host/upload an image (IMGBB way)
/by Farhanaz/
https://code.sololearn.com/Wy3lrXNwGsgJ/?ref=app
Upload content with Google drive
https://code.sololearn.com/Wa25A17a19a1/?ref=app