a href Edit

Basic usage: <a href=">
IE Version Yes
Firefox Yes
Google Chrome Yes
Safari Yes
Opera Yes

The href attribute specifies the destination of a link.

Attribute ValuesEdit

Value Description
URL The URL of the link.

There are 3 types of URl:

  • An absolute URL - points to another web site (like href="")
  • A relative URL - points to a file within a web site (like href="default.htm")
  • An anchor URL - points to an anchor within a page (like href="#top")