+ 6
How do I make my picture displayed? (HTML)
I want to know how to fix my code, so I could display a picture on my website, because I think I missed something in the process. I am a total newbie. this code is in HTML. Here's the code: https://code.sololearn.com/WA4Rn1cQQMyB/?ref=app
17 Respostas
+ 3
1. Clearly the link inside src="" is not the link of a picture. If it was it would end up with .png or .jpg or sth else.
2. You cannot add pictures you have downloaded in phone or PC. Ypu can just take it online.
So I suggest to find a correct link and add it there.
+ 5
I'm just asking, because some picture links don't include .jpg, .jpeg or .png :)
+ 4
I just copied the link from Google images.
+ 4
On the other hand, you're a genius, it worked :D
+ 4
How do I change the size of the picture to make it bigger?
+ 4
Can I use "%" instead of "px"?
+ 4
So it's better to do <img src="..." width="100%"
height="100%" ?
+ 4
Thank you very much :)
+ 4
Do you have to have pictures with .jpg and .jpeg ending to add pictures from the browser or are there any alternatives?
+ 4
And how do you add .gif moving pictures?
+ 4
I fixed it, it should look nice right now :)
+ 2
Glad to help!!!
About size, use CSS properties. width: ... px;
height: ... px;
Where ... is the size you want.
Or if you dont know CSS use this example:
<img src="..." width="100px" height="100px">
+ 2
Of course. In fact it is better, because it is responsive(adapts better in different devices).
+ 2
Yes if you want if full screen...
+ 2
No, there are too many versions: .jpg, .png etc.
The same way you can add .gif files I guess...
+ 2
I guess they all have an ending to tell the picture type.
+ 1
LΔd10 DΔda you are wrong we can put an image which we have downloaded what u simply have to do is after src you have to put the location of ur image by going to the propeties menu of that image then copy the image link and paste it there after that put/ and copy the image name and paste after the /
hope u liked the infođ