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 HTML Basics!
You have completed HTML Basics!
Preview
Certain characters are reserved for use in HTML code only. If you use reserved characters in your content, the browser will interpret them as HTML code, and the characters will not appear in your content as expected.
Content Snippets
<pre>
<div>
This is a div...
<p>This paragraph is nested</p>
</div>
</pre>
Resources
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
If you use reserved characters in your
content, the browser will interpret them
0:00
as HTML code and the characters will
not appear in your content as expected.
0:02
For example, the less than and
0:06
greater than symbols are part
of the HTML syntax itself.
0:08
As you know, they are used to define
opening and closing HTML tags.
0:12
So if we use them as content in a webpage,
0:16
the browser will think that
they are part of an HTML tag.
0:19
For instance, if I type a less than
symbol in front of the text in the h1,
0:22
the browser now thinks that the less than
symbol and the right angle bracket of
0:27
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