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 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.