This attribute links the <a> tag it modifies to a specified anchor elsewhere within the eBook. For instance, an anchor link may be linked to additional text or to a footnotes section using this attribute. The #destination
syntax allows anchors to link to positions inside documents, which are created by using the <a>
tag with the name
attribute (see name
, below), or by placing an id attribute on any tag.
Syntax
href="sourcefile#destinationname"
Associated Tags
a, area, base, link
Sample
Sample Code
Links within an eBook can point to another location <a href="#hspace">within the same file,</a> or they can point to a location <a href="sg Graphic Samples.htm#anchor">within a separate file.</a> Hrefs are always paired with <a name="target">name attributes,</a> which determine the locations that hrefs point to.
© 2000 Microsoft Corporation. All rights reserved. Terms of use.