Julian Robinson429 Points
How do I put an href to go to the top of the page inside of the <a>?
Challenge task problem
<!doctype> <html> <head> <title>My trip to Spain</title> </head> <body> <img src="images/spain.jpg" alt=A picture of me in Spain"> <p>Here is a picture of me in Spain last summer! <a> Go back to the top of the page.</a></p> </body> </html>
Steven Parker202,001 Points
As you discovered,
href="#top" will do it. You can also use the shorthand:
And for the benefit of other readers, there's a quote mark missing in the "alt" attribute, and the paragraph tag should only cover the line that had no tags to start with.
henry bashiruFront End Web Development Techdegree Student 831 Points
Hey I am also having an issue I type in href=#top and it says its wrong