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 Creating HTML Content Build the Footer

Last 3 lines are red

<./footer> <./body> <./html>

These are the last three lines of my footer minus the periods and they are highlighted in red; I don't know why. I feel like this is causing problems for me when I get to CSS.

Has someone experienced the same thing?

2 Answers

Laura Cressman
Laura Cressman
12,548 Points

The closing tags are simply </footer>, </body>, and </html>. Currently, you have a period before the forward slash, so <./footer> is not the same thing as </footer>. Does getting rid of the extra periods help?

Hi Joe,

Did you put the periods in so that your html wouldn't be stripped out of the post but it's not in your actual html?

Here's a recent thread about how to post code in the forums: https://teamtreehouse.com/forum/posting-code-to-the-forum

So do you suspect that you have a syntax error somewhere that is throwing off syntax highlighting?j

You'll probably need to post some more of the html that comes before those last 3 lines. Do it in a code block.

You can also try pasting your entire html into the validator here: http://validator.w3.org/#validate_by_input and see what errors it reports.

Ok, I checked the video and see what you mean now by the red highlighting. It's not syntax highlighting but it looks like the workspaces editor highlights in red blocks when there's a syntax error.

Try posting in a code block your beginning footer tag all the way to the end. You probably don't have a tag closed properly in your footer.