HTML 4.0 Logo Reader Icon OEB 1.0 Logo PPC Logo name

This attribute creates a hypertext anchor that is a destination for a hyperlink created using the href attribute of the <a> tag. The text portion of the attribute is the anchor that the hyperlink must link to.

Syntax

name="text"

Associated Tags

a, map, param

Sample

Name Attribute 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.