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

Build Your Own Webpage Forum

View Course » View Exercise

458 points
553f8e4bd3292f061f0006ae_28340641
Submitted by
Rafael
almost 5 years ago

Image isn't showing on the results tab.

When I add an image using the image tag < img src="url" /> I should be seeing that image, if I'm not mistaken. I just get the url printed in my results.


1 vote

permalink

The image must be online.

332 points
87c66b8d3f00b2de0b0b6a0fbf427ea8?s=140&d=retro
Submitted by
HunJi
almost 5 years ago

1 Comment

9ed27c1d59fa80c40a8b8a88ad590845?s=140&d=retro Monica almost 5 years ago

Copy url and paste it in a browser and check if you are able to see that image. If you are able to see then its correct.
May be in your syntax that you have written you forgot to close the image tag.Check for the same.


0 votes

permalink

Can you give us an example in your code? Because that is the correct format.

631 points
65c2f022e42f5ced72428f30dc4a40db?s=140&d=retro
Submitted by
Danny
almost 5 years ago


0 votes

permalink

Are you closing the tag? Also, since you're not hosting the image you'll have to find an active/online image URL

135 points
657467bd20cdb20d5282367a81b13b0d?s=140&d=retro
Submitted by
Joem
almost 5 years ago

1 Comment

553f8e4bd3292f061f0006ae_28340641 Rafael almost 5 years ago

That was the issue. I wasn't hosting the image so I didn't realize my generic image wouldn't show. I did find an active image and, voila! Thanks for all the help.


0 votes

permalink

@Danny

Can you give us an example in your code? Because that is the correct format.

<body>  <img src="http://1.bp.blogspot.com/_FOcWGIJRTf4/TCkx51n64fI/AAAAAAAAA1Q/0MP4gnPnUu4/s320/nixonhead.png" />  </body><h1>AAAArrrrrrroooo!</h1> <a href="http://reddit.com">Boop</a> <a href="http://reddit.com">>foo</p> <p>garb</p> </body>

1177 points
512387e58faaada4d2005829_63765905
Submitted by
Moonlapse
over 4 years ago

1 Comment

9ed27c1d59fa80c40a8b8a88ad590845?s=140&d=retro Monica over 4 years ago

You are closing the body tag twice. Please check your code.