Learning Resources
 

body element


The BODY element contains all the content of a document, as opposed to the HEAD, which contains information about the document. Various mark-up elements are allowed within the body to indicate headings, paragraphs, lists, hypertext links, images, and so on. These are described and illustrated in documents following this one.

The following shows typical use of HEAD and BODY elements, using this document as an example:



 BODY element in HTML 




[ToC]
[Up]

BODY Element in HTML

The BODY element contains all the content of the document, as opposed to the HEAD, which contains information about the document.

......

The BACKGROUND Attribute

In HTML 2.0, the BODY element had no attributes. Netscape 1.1 introduces the single attribute BACKGROUND. This allows you to specify an image file to use as a background (a bit like a watermark) behind the displayed text and graphics.

The following example (please read the following text and then follow the example link)

 
 

Bla Bla Bla

And still more text....