Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


Heather Woods
Heather Woods
5,330 Points

why is my hyperlink including my paragraph underneath

In my footer, I have buttons to twitter and to facebook. following my facebook link I have a paragraph of copywrite info. Why is my website preview creating a facebook link out of the copywrite paragraph? I closed the facebook link.

  <a href="http://twitter.com/nickrp"><img src="img/twitter-wrap.png" alt="Twitter Logo"</a>
  <a href="http://facebook.com/heatherelizabethwoods"><img src="img/facebook-wrap.png" alt="Facebook Logo"</a>
  <p>&copy; 2015 Heather Woods.</p>
Tara Edwards
Tara Edwards
6,521 Points

After alt="Facebook Logo", you forgot the closing bracket >. Add that and you should be fine.

3 Answers

It might have something to do with how your image tag doesn't have a closing bracket.

<a href="http://facebook.com/heatherelizabethwoods"><img src="img/facebook-wrap.png" alt="Facebook Logo"></a>

Aaron Colon
Aaron Colon
1,875 Points

Hi Heather,

Jenna is correct, you forgot to close your img tags properly. See below for an example:

<img src="img/twitter-wrap.png" alt="Twitter" />

I agree, The herf tag should always look like <a href=""><img src="" alt=""></a>