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, 0:00 we're going to begin the main content of the document by using the body element. 0:02 This element contains everything you'll see in the browser, 0:07 such as text, links to other Web pages, images, tables and lists. 0:10 Here you can see, we've added the body element. 0:16 And inside the body element, is our H1 headline, H2 headline and several P tags. 0:19 One for each paragraph in our story. 0:25 That's a nice overview, but lets break it down a little further. 0:28 The H1 headline is gonna be the biggest and boldest thing on our page. 0:32 The H2 is gonna be slightly smaller. 0:37 I only used H1 and 0:41 H2 in my story, but you should know there are six headline tags in all. 0:43 If you haven't yet, 0:49 change some of these around to see the different sizes they produce. 0:50 We've covered a lot over the last few videos, and you're doing great. 0:54 But let's make sure you're picking up everything I'm putting down with a quick 0:58 code challenge on what goes in between body tags, such as the headline and 1:02 paragraph tags, and see what you remember about CSS from the last video 1:06
You need to sign up for Treehouse in order to download course files.Sign up