This forum is now read-only. Please use our new forums at

HTML Basics Forum

View Course » View Exercise

370 points
Submitted by
almost 3 years ago

What is wrong with my code?

<!DOCTYPE html>
    <a href=""><img src=" /></a>

    <img src=" />
        <a href=""></a>


Eddited by a Tony de Araujo ( moderator);
To learn how to paste code please read this:

2 votes


Images normally end with the .jpg extension ( sometimes .gif or .png) but if they don't end with one of these extensions you can't really post them.

Here's a sample with good images:


        <img src="">
        <a href=""><img src=""></a>
        <a href="">made in China</a>


2946 points
Submitted by
tony de araujo
almost 3 years ago

0 votes


The problem is the links to your images are encrypted. I had a problem with the image being displayed when the URL was encrypted. Try using to upload a photo and use one of the unencrypted links.

426 points
Submitted by
over 2 years ago