Image related html | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

Image related html

<img src ="photo.jpg" alt ="ut"/> Where should be the photo be saved to use this

14th Feb 2019, 5:19 AM
Sanu Kumar
Sanu Kumar - avatar
8 Answers
+ 7
You can post the photo to imgur , then copy the link , paste it where you want , and add the .jpg extension. Example : <img src="imgur/A2di6gR.jpg"> #NotRealLink
14th Feb 2019, 5:45 PM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
+ 6
hi Sanu Kumar you should save the photo in the same file as your html document.
14th Feb 2019, 5:21 AM
Ollie Q
Ollie Q - avatar
+ 5
Suppose you are creating a GitHub repository (or even a folder on your computer) with the files and you're storing the image in a folder, you're essentially just tracking the relative path. Say your repo looks like: Project |----photo.jpg |----main.html |----Inner |----photo2.jpg Then, inside main.html, <img src="photo.jpg"/> <img src="Inner/photo2.jpg"/>
14th Feb 2019, 6:33 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 3
If we are using this in solo learn app then where to save
14th Feb 2019, 5:22 AM
Sanu Kumar
Sanu Kumar - avatar
+ 3
sorry to say but i don’t think you can put images from your phone on the SL app you can only put images from the internet
14th Feb 2019, 5:26 AM
Ollie Q
Ollie Q - avatar
+ 3
Ok thanks
14th Feb 2019, 5:27 AM
Sanu Kumar
Sanu Kumar - avatar
0
<img src="picture.jpg">picture.jpg is located in the same folder as the current page <img src="images/picture.jpg"> picture.jpg is located in the images folder in the current folder <img src="/images/picture.jpg"> picture.jpg is located in the images folder at the root of the current web <img src="../picture.jpg"> picture.jpg is located in the folder one level up from the current folder
18th Feb 2019, 8:45 AM
mohammad mohebbullah
mohammad mohebbullah - avatar
0
<img src="bird.png"> is used in the html 💻
18th Dec 2021, 5:23 AM
Shubham Bhatia
Shubham Bhatia - avatar