Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Treehouse Club: HTML!
You have completed Treehouse Club: HTML!
Preview
Step-by-step instructions to write comments and why the DOCTYPE is important to include.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
Looking at the code you may have noticed
some grayed out text at
0:00
the top of the page.
0:02
This is called a comment.
0:03
When you run the code this line doesn't
show up anywhere in the browser.
0:05
In the HTML code, comments are created by
using a less than sign,
0:10
an exclamation point and then two dashes.
0:15
You close a comment by putting two dashes
and then a greater than sign.
0:18
Comments are used to put thought or
0:23
explanation into your code for you and
others to understand what's going on.
0:25
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up