Join James Williamson for an in-depth discussion in this video The document body, part of HTML Essential Training (2017).
While the head of your document stores functional information that is largely…invisible, the body is where all of your pages visible content is going to go.…So, to complete the basic structure of our HTML file here,…I have the body.htm file open from 02 underscore 04 directory.…Although again, if you're just working on the same document in each movie,…it's okay.…because they're all building right on top of another.…So, the first thing we want to do is add body tag.…Now, the body tag is not nested inside of the head tag.…
It is a sibling of the head tag.…Meaning it is on equal level with it.…So just after the head tag, I'm going to go ahead and open up a body tag.…And then after the body tag, I'm going to hit return and then close the body tag.…Okay.…Now regardless of how your code editor is indenting them, it doesn't really matter.…You can see it's just bringing a little tab there for me.…You just want to make sure that it's not inside the head tag itself.…The body tag is necessary for us to have any visible content whatsoever.…
- Why is HTML important?
- Exploring an HTML document
- Formatting content
- Displaying images
- Using nav, article, and div elements
- Linking to pages and downloadable content
- Creating lists
- Controlling styling (fonts, colors, and more)
- Writing basic scripts
Skill Level Beginner
1. Introducing HTML
2. Basic Page Structure
3. Formatting Page Content
4. Structuring Content
5. Creating Links
6. Creating Lists
7. Controlling Styling
8. Basic Scripting
Next steps2m 16s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.