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

CSS Treehouse Club: CSS My First Web Page New HTML Features

Douglas Rojas
Douglas Rojas
4,104 Points

the workspaces admit mistakes?

I´m writing this text "jksah" outside of the <p>---</p>and it´s still appearing in the workspaces when I launch it. Why?

2 Answers

Nathan Ward
Nathan Ward
7,907 Points

Any text that is placed in a html document will be displayed the <p></p> is just an element to wrap the text in. Here is an example of how to comment text out so it is not rendered:

<!-- This will not be show -->
This will be shown
<p>This will also be shown</p>

To learn more about commenting in html go here: http://www.w3schools.com/html/html_comments.asp

Douglas Rojas
Douglas Rojas
4,104 Points

Thanks so much. I was thinking that just the texts in HTML placed in <> </> , it will be displayed.