This element provides the information which is to be stored as attributes within the LINK tag between the HEAD tags of the Ephox EditLive! for Java document.
The value which appears within the <link> element will appear within the actual EditLive! for Java document between the HEAD tags in a LINK tag.
<editLiveForJava>
<document>
<html>
<head>
<link>
<editLiveForJava> <document> <html> <head> <link ... /> ... </head> ... </html> </document> ... </editLiveForJava> |
Attribute | Description |
href | This attribute specifies the value for the href attribute of the
LINK tag to be used between the HEAD tags within the
actual EditLive! for Java document. The href attribute
specifies the destination for the link (eg. the URL of a stylesheet). Note: If the URL specified for this element is relative it will be relative to the value specified in the <base> element. |
type | This attribute specifies the value for the type attribute of the
LINK tag to be used between the HEAD tags within the
actual EditLive! for Java document. The type attribute
specifies the data type for the document or resource which is linked to
(eg. text/css). Default Value: text/css |
rel | This attribute specifies the value for the rel attribute of the LINK tag to be used between the HEAD tags within the actual EditLive! for Java document. The rel attribute specifies relationship between the current document and the link (eg. stylesheet). |
This example demonstrates how to use the <link> element in order to set the attributes of the LINK tag within an EditLive! for Java document.
<editLiveForJava>
<document>
<html>
<head>
<link href="stylesheet.css" rel="stylesheet"
type="text/css" />
...
</head>
...
</html>
</document>
...
</editLiveForJava>
The <link> element can appear multiple times within the <head> element. For information on how multiple external style sheets will be interpreted please refer to the EditLive! for Java and Style Sheets document.
The <link> 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:
<link href=... />
Copyright © 2001-2004 Ephox Corporation. All Rights Reserved.