This element allows for the configuration of information which is contained as attributes within the BODY tag of the Ephox EditLive! for Java document.
The settings which are configured through the <body> element will appear in the actual document inside EditLive! for Java as attributes within the BODY tag.
<editLiveForJava>
<document>
<html>
<body>
<editLiveForJava> <document> <html> ... <body ... /> </html> </document> ... </editLiveForJava> |
Attribute | Description |
alink | This attribute specifies the value for the alink attribute of the BODY tag within the actual EditLive! for Java 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! for Java 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! for Java document. The bgColor attribute specifies the background color of the entire document. |
link | This attribute specifies the value for the link attribute of the BODY tag within the actual EditLive! for Java 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! for Java document. The text attribute specifies the color of text within the document. |
vlink | This attribute specifies the value for the vlink attribute of the BODY tag within the actual EditLive! for Java document. The vlink attribute specifies the color of a hyperlink which has been visited within the document. |
This example demonstrates how to set various attributes for use in the BODY tag within EditLive! for Java documents.
<editLiveForJava>
<document>
<html>
...
<body
alink="#FF0000" background="watermark.jpg" bgcolor="blue"
link="#00FF00" text="red" vlink="#teal" />
</html>
</document>
...
</editLiveForJava>
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=... />