<hyperlink> Element

This element allows for the specification of a single hyperlink that the end users of Ephox EditLive! for Java will be provided with via the Insert Hyperlink dialog.

Element Tree Structure

<editLiveForJava>
    <hyperlinks>
        <hyperlinkList>
            <hyperlink>

<editLiveForJava>
     ...
     <hyperlinks>
         <hyperlinkList>
              <hyperlink ... />
         </hyperlinkList>
         ...
     </hyperlinks>
     ...
</editLiveForJava>

Required Attributes

Attribute Description
href This attribute defines the URL for the hyperlink.

Optional Attributes

Attribute Description
description This attribute specifies the description used for the hyperlink in the Insert Hyperlink dialog within EditLive! for Java.
target This attribute has the same effect as the target property of the <A> HTML tag.  This attribute specifies the name of the frame for the hyperlink to jump to.

When inserting the hyperlink defined by this <hyperlink> element into an EditLive! for Java document this attribute will appear in the HTML source code.

title This attribute has the same effect as the title property of the <A> HTML tag.  This attribute provides an advisory title for the document linked to.

When inserting the hyperlink defined by this <hyperlink> element into an EditLive! for Java document this attribute will appear in the HTML source code.

Example

The following example demonstrates how to specify a hyperlink to provide the users of EditLive! for Java with.

<editLiveForJava>
    ...
    <hyperlinks>
        <hyperlinkList>
            <hyperlink href="http://www.someserver.com/somepage.html description="This is a hyperlink"
                target="_blank" title="Hyperlink" />
        </hyperlinkList>
        ...
    </hyperlinks>
    ...
</editLiveForJava>

Remarks

The <hyperlink> element can appear multiple times within the <hyperlinkList> element.

The <hyperlink> 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:

    <hyperlink href=... />

See Also