The body Element
The body element is where all the action takes place. It's the element where you'll be placing the content of your page and marking it up using XHTML to structure it accordingly. The element goes within the html element, directly below the head–—makes sense, doesn't it? (See Example 1-12.)
Example 1-12. Placing the body element
<html><head><title>Appropriate Title Text Here</title></head><body></body></html>
When viewed in a browser, the information within the body element is what is displayed in the browser window, also referred to as the viewport. This is the content area only—no browser chrome (which refers to the browser's interface components, such as scrollbars and status bars). Figure 1-3 shows Google in a web browser. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access