Ask coding questions

← Back to all posts
Why won't my image show up on my webpage?
Zackattack07

I have a website that I want to add a picture to. The image is called "rock.jpg", and in the HTML I put the syntax:
<img scr="rock.jpg" alt="Rock">
And the image does not show up. What is the problem? I've tried practically everything.
This is what it looks like on the page:

Voters
Zackattack07
Comments
hotnewtop
Zackattack07

I found the problem!!! It is a quite frankly stupid mistake, but the problem is that the tag is not supposed to be "scr=", it's supposed to be "src="!

CosmicBear

Try <img scr="rock.jpg" alt="Rock"></img>