a

Purpose

Used to create a hypertext link to another place in the same document or to another document. The current document is the source of the link and the value of the href attribute, defines the link target.

Attribute groups

Examples

The welcome.mlyt layout can be found in the MCS/repository/xml-repository directory.

<?xml version="1.0" encoding="UTF-8"?>
<canvas layoutName="/welcome.mlyt" pageTitle="a">
  <pane name="background">
    <h3>The Antenna Software home page</h3>
    <a href="http://www.antennasoftware.com">www.antennasoftware.com</a>
  </pane>
</canvas>
<?xml version="1.0" encoding="UTF-8"?>
<canvas layoutName="/welcome.mlyt" pageTitle="a">
  <pane name="background">
    <h3>Table of contents</h3>
    <a href="test.xdime#p1">Chapter 1</a>
    <br/>
    <a href="test.xdime#p2">Chapter 2</a>
    <br/>
    <a href="test.xdime#p3">Chapter 3</a>
    <h3 id="p1">Chapter 1</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
    <h3 id="p2">Chapter 2</h3>
    <p>Phasellus in dolor. Nunc ornare orci a libero. Nullam tortor lacus,
      pulvinar vitae, hendrerit non, posuere id, ante. </p>
    <h3 id="p3">Chapter 3</h3>
    <p>Suspendisse sit amet neque malesuada ligula semper pellentesque.</p>
  </pane>
</canvas>

Related topics