HTML - статьи

BODY


Description

The BODY element contains all the content of the document,

as opposed to the

, which contains information about

the document. All displayable elements should be within the content

of the BODY.

Minimum Attributes

All Possible Attributes

<BODY

LANG="..."

DIR=ltr|rtl

ID="..."

CLASS="..."



BACKGROUND="..."

BGCOLOR="..."

BGPROPERTIES=fixed

TEXT="#rrggbb"

LINK="#rrggbb"

VLINK="#rrggbb"

ALINK="#rrggbb">

</BODY>

Elements Allowed Within...

members of group

Allowed In Content Of...

Variations

The HTML, HEAD, and BODY elements were introduced with

RFC 1866, and are currently optional, but are considered

Level 0 elements.

The LANG and DIR attributes are introduced with the

internationalization proposal.

Version 3 proposes the attribute BACKGROUND.

Netscape 1.1 and MS Internet Explorer 2.0

include the BACKGROUND attribute, which is a URL to point

to an image to be reproduced to fill the background of the document.

Netscape 1.1 and MS Internet Explorer 2.0 both document the BGCOLOR extension.

Netscape requires an "#rrggbb" number, while

Internet Explorer also accepts the following color names:

Black, Maroon, Green, Olive, Navy, Purple, Teal, Gray, Silver, Red, Lime,

Yellow, Blue, Fuchsia, Aqua, White.

The TEXT, LINK, VLINK, and ALINK attributes are Netscape 1.1 extensions,

and also appear to work with MS Internet Explorer 2.0.

BGPROPERTIES is an MS Internet Explorer 2.0 extension and currently

only accepts the value of "fixed" which provides a watermark

(non-scrolling) background image.

Sandia Requirements

The HTML, HEAD and BODY elements are required.



Содержание раздела