Reputation: 5
I've just been teaching my self HTML & CSS and I'm running into my first annoying bug.
Here is my code:
It's the only image I have on it so far, and it used to appear, but ever since adding a class to the
I also need help positioning my buttons.
Upvotes: 0
Views: 27
Reputation: 2290
You have the source of the image as
imgur.com/xNiamwg
but this is a web page - you need the source to be the actual image itself:
http://i.imgur.com/xNiamwg.png
(note the PNG extension - not all images have an extension, as it isn't strictly necessary, but they usually do.)
Additionally, you have a semicolon after your source attribute - attributes should only be separated by whitespace.
An example of working code:
<a href="http://imgur.com/xNiamwg"><img src="http://i.imgur.com/xNiamwg.png" title="Hosted by imgur.com" /></a>
Upvotes: 1