Encapsulates the string within an <A HREF="..."> tag context.


JavaScript - 1.0
JScript - 1.0
Internet Explorer - 3.02
Netscape - 2.0
Netscape Enterprise server - 2.0
Opera - 3.0
Property/method value type:String primitive
Argument list:aURLThe URL to be embedded into an HREF HTML tag attribute

Passing in the string "A link" with the parameter "Some site" will result in the following string:


This is useful for creating hyperlinks within the document.

See also:LINK object, String.anchor(), Url object