How do you import images from sites in HTML | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

How do you import images from sites in HTML

Describe how to import images in HTML

30th Aug 2020, 8:49 PM
Enigma Family
7 Answers
+ 2
It sounds like you want to show an image on your website that is hosted on another website. There are 2 steps: 1. Get the full URL to the image. Sometimes, this is as simple as right-clicking the image and hitting an option like "Copy image link". Sometimes, it is a CSS background-image which is harder to access. 2. Add an image that uses that full URL. For example, <img src="https://cdn4.iconfinder.com/data/icons/logos-3/504/ASP.Net-512.png"> Be a little careful with copyright licenses and policies, though. It helps to find an image on wikipedia or in an explicitly public/free images website where you know the creators of those images are happy with you using them.
30th Aug 2020, 8:51 PM
Josh Greig
Josh Greig - avatar
30th Aug 2020, 9:28 PM
Jayakrishna 🇮🇳
+ 1
Which one saying about laptop? It works for all.. Do you want use images which are in your phone? Or do you want to use a Web image link in code? Mention details.. with your tried code,.! The post have all answers...
30th Aug 2020, 10:03 PM
Jayakrishna 🇮🇳
+ 1
Long press on image/right click on image Select option to open image in new tab Copy the url of that newly opened tab Paste it in your code.
31st Aug 2020, 1:44 AM
Divya Mohan
Divya Mohan - avatar
0
Please I don't understand I mean how to import an image in coding in HTML I and I really appreciate your answer
30th Aug 2020, 9:05 PM
Enigma Family
0
We are asking how to use phone to import image not laptop we have tried using laptop and it worked
30th Aug 2020, 9:59 PM
Enigma Family
0
You need Web scrapping for that, you may have to use python to achieve it.
8th Jul 2021, 8:08 PM
Surya Suprince
Surya Suprince - avatar