<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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.