how can i add img | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how can i add img

10th Oct 2020, 5:18 AM
Yousef Ali
Yousef Ali - avatar
9 Answers
+ 2
You've already mentioned everything you need in tags. <img src="image URL" alt="alternative text if image fails to load"/>
10th Oct 2020, 5:23 AM
Artem 🇺🇦
Artem 🇺🇦 - avatar
+ 4
Very simple and easy way... <img src="image URL" alt= "alternative text" /> Here, "image URL" is the location of the image you want to place in your web page. "alternative text" is any text you can write about the image. It is not mandatory but it is good to use as it shows if the browser fails to load the image. It also helps the search engine.
27th Oct 2020, 3:10 AM
Satya Sundar De
Satya Sundar De - avatar
+ 3
<img src=" copy and paste the image address here" alt=" it is not Mandatory, if the img fails to show the text u type here will be shown">
12th Oct 2020, 5:11 AM
🍫🍫
🍫🍫 - avatar
+ 2
Google search for an image. Switch to images tab. Choose an image you like. Long-press it (or right-click if you're using a PC) and choose "open image in a new tab". Then copy image URL from the URL box (usually at the top of browser window) For example, this is a URL of HTML5 logo copied using this method: https://upload.wikimedia.org/wikipedia/commons/thumb/6/61/HTML5_logo_and_wordmark.svg/1200px-HTML5_logo_and_wordmark.svg.png If your image is locally stored you should upload it to an image-hosting website such as imgbb.com.
10th Oct 2020, 5:35 AM
Artem 🇺🇦
Artem 🇺🇦 - avatar
+ 1
l do not know how can i make image URL
10th Oct 2020, 5:25 AM
Yousef Ali
Yousef Ali - avatar
+ 1
You have to upload your image to an online server. To do this you can, Upload your image to dropbox( If you have one ) Or you can upload to imgbb, imgbb does not require any registration or pricing. After uploading there youll have to copy full html link. Then everything as usual
10th Oct 2020, 5:36 AM
Steve Sajeev
Steve Sajeev - avatar
0
شكراً
10th Oct 2020, 5:42 AM
Yousef Ali
Yousef Ali - avatar
0
It shows you in the lesson. https://www.sololearn.com/learn/HTML/1030/ Read through the comments there. For more valuable info.
10th Oct 2020, 9:08 AM
Chris Coder
Chris Coder - avatar
0
thank you
12th Oct 2020, 5:15 AM
Yousef Ali
Yousef Ali - avatar