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

HTML Basics Forum

View Course » View Exercise

479 points
20f2bb136bb992fb4d6068e039ebcbb0?s=140&d=retro
Submitted by
Jared Yoder
over 4 years ago

Stuck on <a href> code

Any suggestions on what's wrong with my picture and picture link here?
Thanks, Jared
Must earn more badges and level up! :)

<!DOCTYPE html>
<html>
    <head>
        <title></title>
    </head>
    <body>
        <img src=http://www.orrville.lib.oh.us/sites/default/files/images/dig.jpg />
        <a href=http://www.orrville.lib.oh.us/><img src=http://www.orrville.lib.oh.us/sites/default/files/images/dig.jpg /></a>



    </body>
</html>

0 votes

permalink

Try putting your URLs in quotation marks:

e.g. href="http://www.orrville.lib.oh.us/"

Same for the src attributes in your img tags.

1596 points
2f41f718f65b60021ba3256920e79c2b?s=140&d=retro
Submitted by
Larry Mac
over 4 years ago