Version 5.9.4

# `A`

Insert hyperlink to a URL.

## Child elements

`A`, `B`, `Barcode`, `Br`, `Clip`, `Color`, `Fontface`, `ForAll`, `Frame`, `HSpace`, `I`, `Image`, `Loop`, `Math`, `NoBreak`, `Span`, `Sub`, `Sup`, `Switch`, `U`, `URL`, `Value`

## Parent elements

`A`, `B`, `Case`, `Color`, `Fontface`, `ForAll`, `I`, `Li`, `Loop`, `NoBreak`, `Otherwise`, `Overlay`, `Paragraph`, `PlaceObject`, `Span`, `U`, `URL`, `Until`, `While`

## Attributes

`bordercolor` (text, optional, since version 4.15.7)
  Set the color of the border (Adobe Acrobat ony).
`description` (text, optional, since version 4.19.12)
  An alternative text for accessibility
`embedded` (text, optional, since version 4.15.11)
  Link to an attached file. To open a page other than the first page, set the page attribute, to open a named destination, set the link attribute.
`href` (text, optional)
  The target of the hyperlink (URI). Example: `https://www.speedata.de`
`link` (text, optional, since version 3.3.8)
  The target of the document link (a Mark). Example: `article123`. When linking to embedded files, the link attribute may contain the named destination of the target.
`page` (number, optional, since version 4.3.5)
  Link to a (logical) page number. When linking to embedded files, the page attribute may contain the page number of the target.

## Example

Create a simple hyperlink to a URL.

    <PlaceObject>
      <Textblock>
        <Paragraph><Value>See the </Value>
          <A href="https://www.speedata.de">
            <Value>homepage</Value>
          </A>
          <Value> for more information.</Value>
        </Paragraph>
      </Textblock>
    </PlaceObject>

Create a hyperlink to an attached document. Only supported on a few PDF viewers.

    <Layout xmlns="urn:speedata.de:2009/publisher/en"
            xmlns:sd="urn:speedata:2009/publisher/functions/en">

      <AttachFile type="application/pdf"
                  filename="document.pdf"
                  description="An important document" />
      <Record element="data">
        <PlaceObject>
          <Textblock>
            <Paragraph>
              <A embedded="document.pdf" page="5">
                <Value>See the page 5 of the document.</Value>
              </A>
            </Paragraph>
          </Textblock>
        </PlaceObject>
      </Record>
    </Layout>

#### On this page