<body>—The Document's Body

The document's body is where the action is—the content that the document is designed to contain, that is. The <body> element is supported in XHTML 1.0 Strict, XHTML 1.0 Transitional, and XHTML 1.1. Here are this element's attributes:

  • alink— Deprecated in HTML 4.0 (you use styles instead now). Sets the color of hyperlinks when they're being activated. (XHTML 1.0 Transitional, XHTML 1.0 Frameset.)

  • background— Deprecated in HTML 4.0. Holds the URI of an image to be used in tiling the browser's background. (XHTML 1.0 Transitional, XHTML 1.0 Frameset.)

  • bgcolor— Deprecated in HTML 4.0 (you use styles instead now). Sets the color of the browser's background. (XHTML 1.0 Transitional, XHTML 1.0 Frameset.)

  • class— Gives the style ...

Get Real World XML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.