Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML

How do I get my href to work?

I am having some trouble linking my document to HTML inside my document. So far, it will take me to the new web page; as a hyperlink should. But, I am unable to display anything on that page.

Every time I click on my herf on my web page it takes me to a page that says, "Not Found and the requested URL /<a was not found on this server."

Can you post the code?

Thank You for all your help and assistance, everyone, I found out that my issue was my file path.

1 Answer

Jamie Reardon
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Jamie Reardon
Treehouse Project Reviewer

Sounds like your closing </a> tag after the text of the anchor element is not closed properly. Check that it is like so: </a> and not /<a

A valid anchor element appears like so:

<a href="linktopage.html">Your Link Text</a>

Thank you, Jamie Reardon.