HTML & XHTML: The Complete Reference (Osborne Complete Reference Series)
< Day Day Up > |
The <body> Tag
After the head section, the body of a document is delimited by <body> and </body> . Under the HTML 4.01 specification and many browsers, the body element is optional, but should always be included, particularly as it is required in XHTML. Only one body element can appear per document. Because the body element delimits the document itself, its attributes are primarily used to effect change across the entire document, such as setting background images, background colors, and link and text color . These attributes are discussed in depth in Chapter 6.
< Day Day Up > |