Name
<body> — NN 2, 3, 4, 6 MSIE 2, 3, 4, 5, 5.5, 6 HTML 4.01 WebTV Opera5
Synopsis
<body>...</body> (start and end tags optional)
Defines the beginning and the end of the document body. The body
contains the content of the document (the part that is displayed in
the browser window). Attributes to the
<body> tag affect the entire document.
Attributes
-
alink="#rrggbb"orcolor name Deprecated. Sets the color of active links (i.e., 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. Chapter 16 explains these color specification methods.
-
background=url Deprecated. Provides the URL to a graphic file to be used as a tiling graphic in the background of the document.
-
bgcolor="#rrggbb"orcolor 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"orcolor 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"orcolor name Deprecated. Sets the default color for all the non-hyperlink and unstyled text in the document. Color is specified in hexadecimal RGB values or by standard web color name.
-
vlink="#rrggbb"orcolor name Deprecated. Sets the color of the visited links (links that have already been followed) for the document. Color is specified in hexadecimal RGB ...
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