Name

body — <body> . . . </body>

The body of a document contains the document’s content. Content may be presented visually (as in a graphical browser window) or aurally (by a screen reader). Although the body element markup is optional in previous versions of HTML, in XHTML it is required. All of the attributes for the body element that control the text color, link color, background color, and background images have been deprecated in favor of stylesheet controls.

Attributes

Core, Internationalization, Events ; plus onload, onunload

alink="#rrggbb" or "color name"

Deprecated. Sets the color of active links (the color while the mouse button is held down during a click). Color is specified in hexadecimal RGB values or by standard web color name.

background="URL"

Deprecated. Provides the location of a graphic file to be used as a tiling graphic in the background of the document.

bgcolor="#rrggbb" or "color name"

Deprecated. Sets the color of the background for the document. Color is specified in hexadecimal RGB values or by standard web color name.

link="#rrggbb" or "color name"

Deprecated. Sets the default color for all the links in the document. Color is specified in hexadecimal RGB values or by standard web color name.

text="#rrggbb" or "color name"

Deprecated. Sets the default color for all the nonhyperlink and unstyled text in the document. Color is specified in hexadecimal RGB values or by standard web color name.

vlink="#rrggbb" or "color name"

Deprecated. Sets the color of the visited links ...

Get HTML and XHTML Pocket Reference, 3rd Edition 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.