XML technologies / SVG / Adding hyperlinks and external files / The a tag in detail
(Excerpt from “Das Einsteigerseminar SVG — Webgrafiken mit XML” by Helma Spona)
The <a> tag offers more than the preceding example suggests. Numerous attributes specify target frames and other settings. The <a> tag has these attributes:
xmlnsdefines an XML namespace using this syntax:xmlns:präfix="Ressourcenname". The prefix is optional, however, so you can also specifyxmlns="Ressourcenname".xlink:typesets the link type. SVG graphics allow only the value"simple".xlink:titlesupplies a link title. SVG Viewer currently does not display this title in any way.xlink:showdetermines whether to open a new viewport for the hyperlink destination or display it in the current one. Available values arenewandreplace.xlink:hrefspecifies the hyperlink’s target file or an anchor within the file. Filenames, absolute or relative paths, and targets within the file prefixed with # are allowed.targetsets the target frame. This is needed only when the file is in an HTML or XHTML frameset and the destination should open in a frame other than the one displaying the graphic.
Copyright © verlag moderne industrie GmbH 2001
You may print the online version for your private use.
Otherwise, this chapter from “Das Einsteigerseminar SVG — Webgrafiken mit XML” is subject to the same conditions as the bound edition. The work, including all its parts, is protected by copyright. All rights reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
verlag moderne industrie GmbH, Justus-von-Liebig-Straße 1, D-86899 Landsberg/Lech, fon ++49 (0) 81 91 / 125 – 0, leserservice(at)mi-verlag.de
back to top