### 28.7 Linking to external destinations

DITA2Go produces HTML links from HyperLink PI markers in your document.

To specify a target for a hypertext link (for example, _blank):

    [HTMLOptions]
    ; URLTarget = name of target to use for all links unless
    ;  otherwise set, default none
    URLTarget=_blank

To specify an email address:

    [HTMLOptions]
    URLTarget=mailto:name@company.com

When a hypertext link specifies an absolute path (which must start with a drive letter), DITA2Go prefixes the path with “file:///”. For example:

     file:///g:/omnisys/ug/out/ugdita2go.pdf

For a relative path, DITA2Go includes just the text of the destination. For example:

     ../out/ugdita2go.pdf

Previous Topic: 28.6.2 Enabling links to renamed or relocated files

Next Topic: 29. Providing navigation in HTML

Parent Topic: 28. Creating HTML links

Sibling Topics:

28.1 Understanding sources of links

28.2 Specifying link appearance

28.3 Specifying link destination

28.4 Creating jumps to particular windows for HTML

28.5 Converting DITA cross-reference links to HTML

28.6 Linking to other files and other DITA2Go projects