VersionW3C//DTD HTML 3.2 Final//EN
ElementBODY
Purposecode as #RRGGBB in hexadecimal or 16 named colors; document body
DescriptionThis element encloses the text flow of a document. Note that you only have one body. For example:
<BODY alink="blue" bgcolor="#CCFFCC" link="red" text="olive" vlink="#104E8B">
  <H1>
   Hello, World!
  </H1>
  <P>
   This is a minimal "hello world" HTML document. 
  </P>
</BODY>
Set attribute colors with color codes as #RRGGBB in hexadecimal or 16 named colors
Start tagOptional <BODY>
Attributes
NameTypeDefaultComment
alink CDATA #IMPLIEDcode as #RRGGBB in hexadecimal or 16 named colors; color of hypertext links when clicked
background CDATA #IMPLIEDUniform Resource Locator; see RFC1808 and RFC1738; url of image file for texture tile for document background
bgcolor CDATA #IMPLIEDcode as #RRGGBB in hexadecimal or 16 named colors; background color of document body
link CDATA #IMPLIEDcode as #RRGGBB in hexadecimal or 16 named colors; color of unvisited hypertext links
text CDATA #IMPLIEDcode as #RRGGBB in hexadecimal or 16 named colors; color of document text
vlink CDATA #IMPLIEDcode as #RRGGBB in hexadecimal or 16 named colors; color of visited hypertext links
Content( H1 | H2 | H3 | H4 | H5 | H6 | #PCDATA | TT | I | B | U | STRIKE | BIG | SMALL | SUB | SUP | EM | STRONG | DFN | CODE | SAMP | KBD | VAR | CITE | A | IMG | APPLET | FONT | BASEFONT | BR | SCRIPT | MAP | INPUT | SELECT | TEXTAREA | P | UL | OL | DIR | MENU | PRE | DL | DIV | CENTER | BLOCKQUOTE | FORM | ISINDEX | HR | TABLE | ADDRESS )*
End tagOptional </BODY>
Referenced in HTML
search Search · star Market
2023-06-19 · John December · Terms © johndecember.com