This element allows for the configuration of information which is contained as attributes within the <BODY> tag of the Tiny EditLive! document. The settings which are configured through the <body> element will appear in the actual document inside EditLive! as attributes within the <BODY> tag.

Configuration Element Tree Structure

<editLive>
<document>
<html>
<body>

<editLive>
    <document>
        <html>
            ...
            <body ... />
        </html> 
    </document>
    ...
</editLive>

Optional Attributes

This attribute specifies the value for the alink attribute of the <BODY> tag within the actual EditLive! document. The alink attribute specifies the color of an active hyperlink (ie. a hyperlink being clicking on) within the document.

background

This attribute specifies the value for the background attribute of the <BODY> tag within the actual EditLive! document. The background attribute specifies a background image for the body of the document.

bgColor

This attribute specifies the value for the bgColor attribute of the <BODY> tag within the actual EditLive! document. The bgColor attribute specifies the background color of the entire document.

This attribute specifies the value for the link attribute of the <BODY> tag within the actual EditLive! document. The link attribute specifies the color of a hyperlink which has not been visited within the document.

text

This attribute specifies the value for the text attribute of the <BODY> tag within the actual EditLive! document. The text attribute specifies the color of text within the document.

This attribute specifies the value for the vlink attribute of the <BODY> tag within the actual EditLive! document. The vlink attribute specifies the color of a hyperlink which has been visited within the document.

contenteditable

This attribute specifies whether the contents of EditLive! will be read-only for the user of the editor.

This attribute is a boolean and can have the value of either true or false.

Default Value: false

Example

This example demonstrates how to set various attributes for use in the <BODY> tag within EditLive! documents.

<editLive>
    <document>
        <html>
            ...
            <body 
              alink="#FF0000" 
              background="watermark.jpg" 
              bgColor="blue" 
              link="#00FF00" 
              text="red" 
              vlink="#teal" 
            />
        </html>
    </document>
    ...
</editLive> 

Remarks

The <body> element can appear only once within the <html> element. The <body> element must be a complete tag; it cannot contain a tag body. Therefore, the tag must be closed in the same line. See the example below:

<body alink=... />

The body tag is only used to specifty the attributes contained in the <body> tag of the document appearing in the EditLive! editor. Any HTML text written inside this xml tag will not appear in the document stored in the EditLive! editor.