The HTML Elements reference.

"body" - html element

  • The <BODY> tag contains the body of the document. It must come after the </'head' > (if a header is specified).
  • Everything between the <BODY> and </BODY> is considered part of the document body.
  • It is the part of the document that is visible to the user.
  • Starttag <body> is Optional and endtag </body> is Optional
  • Browsers that support the body - element : Internet Explorer Mozilla Firefox Opera Google Chrome Apple Safari
Element "body" example:
<html>
  <head>
    <title>The Blockquote Element</title>
  </head>
  <body bgcolor="Silver" text="Blue" >
      In the body start tag we have with the attributes
      set the background color to Silver (bgcolor="Silver")
      and the text color is blue (text="blue"). Both of this
      attributes are deprecated, but works for a
      for a HTML 4.01 Transitional DTD document type.
  </body>
</html>


Attributes:
alink (deprecated), background (deprecated), bgcolor (deprecated), class , dir , id , lang , link (deprecated), style , text (deprecated), title , vlink (deprecated)



© 2010 by Finnesand Data. All rights reserved.
This site aims to provide FREE programming training and technics.
Finnesand Data as site owner gives no warranty for the correctness in the pages or source codes.
The risk of using this web-site pages or any program codes from this website is entirely at the individual user.