This course will be retired on April 26, 2020. We recommend "Introduction to HTML and CSS" for up-to-date content.
Bummer! This is just a preview. You need to be signed in with a Basic account to view the entire video.
The Body1:10 with Joy Kesten
The body contains the content of your web page. Which headline tag to use for a title and how to open and close a paragraph tag.
Below the closing head tag,
we're going to begin the main content of the document by using the body element.
This element contains everything you'll see in the browser,
such as text, links to other Web pages, images, tables and lists.
Here you can see, we've added the body element.
And inside the body element, is our H1 headline, H2 headline and several P tags.
One for each paragraph in our story.
That's a nice overview, but lets break it down a little further.
The H1 headline is gonna be the biggest and boldest thing on our page.
The H2 is gonna be slightly smaller.
I only used H1 and
H2 in my story, but you should know there are six headline tags in all.
If you haven't yet,
change some of these around to see the different sizes they produce.
We've covered a lot over the last few videos, and you're doing great.
But let's make sure you're picking up everything I'm putting down with a quick
code challenge on what goes in between body tags, such as the headline and
paragraph tags, and see what you remember about CSS from the last video
You need to sign up for Treehouse in order to download course files.Sign up