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

HTML Basics Forum

View Course » View Exercise

23 points
51b92ef28c1ccc84240027a8_704043386
Submitted by
Larissa Collins
over 4 years ago

Problems

I am having problems turning a picture into a clickable link. I have looked back and tried it again about 6 times at different points. Nothing I try to do works!


1 vote

permalink

An image is coded like this:
<img src="http://www.imagename.jpg"/> .
A link is coded like this:
<a href="http://google.com">GOOGLE</a>.
To insert an image inside of a link just replace the title of the link(ex: GOOGLE) by the whole image code (example 1). Like this:
<a href="http://google.com"><img src="http://www.imagename.jpg"/></a>

2946 points
5533b41186f55278520000c6_295543857
Submitted by
tony de araujo
over 4 years ago

3 Comments

52655a5aabf821a86c00087f_45483547 Taylor Hamrick almost 4 years ago

Click Me!
What am I doing wrong? I cannot find anything thats wrong in this...

5533b41186f55278520000c6_295543857 tony de araujo almost 4 years ago

blogcdn.com/www.autoblog.com/media should be separated by applying closing and opens tags. like this: .com/"> then <img src="http:// before www

5533b41186f55278520000c6_295543857 tony de araujo almost 4 years ago

Also please do not post code in this small windows it is just too difficult to see and to try to explain. Use a big window on the bottom where we can reformat your code.


0 votes

permalink

same here its not letting me do it!!

56 points
6f3a0095008afbcc2c8927c9f21626b6?s=140&d=retro
Submitted by
c9.appl
over 4 years ago

2 Comments

Cea5fad8124175d2e6d827e020640d4d?s=140&d=retro blogSurfer28183 about 4 years ago

This lesson has flaws. They donĀ“t work.

5533b41186f55278520000c6_295543857 tony de araujo about 4 years ago

Why would you say that? The first thing to look at is to see if everyone is stuck on the same problem. I don't think so, I passed it on my first try. Out a million students there is a small percentage that have a problem here. Saying that the lesson has flaws is like giving up on the first try. This has to do with understanding what an image is, and what a link is. If you need help with that, there are many students that can help but please don't blame it on the lesson itself. It;'s like shooting yourself in the foot!