How can I put images to html?

Hello there!

I am very new here, only 2 days in and I am learning HTML/Images. so I have tried to put images as finding online and copy paste the link, it doesn’t work. Could someone explain me how does that work?

Thank you!!!

It should be in the course instructions on how to do it.
But the basic syntax is as follows:
<img src"imagePath" alt="Text to show when image cannot be seen.">

make sure to copy the image location/source, the url should end with .jpg, .png or any other image format

we can help you better if you showed us what you tried

1 Like

https://www.google.com/imgres?imgurl=https://upload.wikimedia.org/wikipedia/commons/thumb/7/79/2010-brown-bear.jpg/200px-2010-brown-bear.jpg I was trying to put this one, but even though I put the codes correct, this link was not. So Photo wasnt shown.

Sorry link was this : https://www.google.com/imgres?imgurl=https://upload.wikimedia.org/wikipedia/commons/thumb/7/79/2010-brown-bear.jpg/200px-2010-brown-bear.jpg&imgrefurl=https://en.wikipedia.org/wiki/Bear&h=301&w=200&tbnid=XvMEEo_X5A8wOM:&q=bear&tbnh=160&tbnw=106&usg=AI4_-kTVSI0iZ5cLmXYoZABuz7S33XJFhQ&vet=12ahUKEwidmdW7gY7eAhUrm-AKHUsFCN4Q_B0wIHoECAgQFA..i&docid=_44HmSV8bjuyUM&itg=1&sa=X&ved=2ahUKEwidmdW7gY7eAhUrm-AKHUsFCN4Q_B0wIHoECAgQFA#h=301&imgdii=m-MYQJyo4Zr_kM:&tbnh=160&tbnw=106&vet=12ahUKEwidmdW7gY7eAhUrm-AKHUsFCN4Q_B0wIHoECAgQFA..i&w=200

I can put the codes, but my problem is that I cant put right URL, and I dont know how to do so.

please read this topic:

How to ask good questions (and get good answers)

your post is fine, but this topic also include information about formatting, this way you can post the html code with the links in a convenient way.

Make sure to only use the link to the image and not to a image on a webpage. The link you posted is to the image on google images, that wont work.
This is what the image looks like on it’s own.

Hi,Please try it.

This coding only sample,what you want please search and find the solution then try.