You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



Anchor

The Anchor object is the usual HTML hyperlink element. Its tag name is "a". The W3C describes it in the DOM Level 1 HTML spec.

Class: nsHTMLAnchorElement

File: content/html/content/src/nsHTMLAnchorElement.cpp

Inherits from the following classes:

  • nsGenericHTMLContainerElement : nsGenericHTMLElement.cpp

Implements the following interfaces:

  • nsIDOMHTMLAnchorElement : dom/public/idl/html/nsIDOMHTMLAnchorElement.idl
  • nsIDOMNSHTMLAnchorElement : dom/public/idl/html/nsIDOMNSHTMLAnchorElement.idl
  • nsILink : content/html/content/public/nsILink.h