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.

HTML How to Make a Website Adding Pages to a Website Add a New Page

Kathryn Williamson
Kathryn Williamson
2,011 Points

Why is the period between the two closing tags: </a>. </p> ?

We are adding a link to the twitter contact in the about page. In the lesson he added a paragraph tag and added the a href tag before the text and then left the period between the two closing tags. I moved it to after the @Kwill and it did not change anything in the browser. Does it matter where you put the period? It looks weird between the two closing tags:

<p>If you would like to follow me on Twitter my user name is <a href="http://twitter.com/KWill">@Kwill</a>.</p>

2 Answers

Hi there,

That most likely is just aesthetic and gives the anchor hover area/blue text underline to simply the text and not the period. No functional reasons as far as I'd say in this instance. Purely cosmetic, so to speak.

David Finley
David Finley
18,742 Points

If the period is inside of the anchor tags it will be included in the anchor link. If the link is undelined you probably don't want the period to be underlined too.