|Contents:||H1, H2, H3, H4, H5, H6, P, UL, OL, DIR, MENU, PRE, DL, DIV, CENTER, BLOCKQUOTE, FORM, HR, TABLE, ADDRESS as well as TT, I, B, U, STRIKE, BIG, SMALL, SUB, SUP, EM, STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, A, APPLET, IMG, FONT, BASEFONT, BR, MAP, INPUT, SELECT, TEXTAREA and plain text.
|May occur in:||HTML.
The BODY tag contains the actual contents of the document. That contents should consist of block elements only. You may put in plain text in the body, this is then assumed to be inside a P container.
The attributes contain the appearance of the document. The BACKGROUND attribute should point to the location of an image, which is used as the (tiled) background of the document. The other attributes set the colors for the background, text, links, visited links and active (currently being selected) links, using the order above.
The color is composed
by specifying the red, green and blue components of the color in
hexadecimal notation, with a # in front. For example, to specify white,
the red, green and blue components are 255, 255, 255, so you would
use "#FFFFFF". You can also use the following color names, although
they are not as widely supported as the codes:
The BODY tag is optional; if you put all the HEAD elements first, the browser can immediately see where the actual document body begins.
Reference index ~ Wilbur index ~ Tag overview ~ Feedback
Copyright © 1997 Arnoud "Galactus" Engelfriet.