Sets or retrieves the destination URL or anchor point.
Syntax
HTML <ELEMENT HREF = sURL ... > Scripting object.href [ = sURL ]
Possible Values
sURL String that specifies the URL or anchor point. The property is read/write with no default value.
Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see Dynamic Properties.
Remarks
HREF attributes on anchors can be used to jump to bookmarks or any object's identification attribute.
When an anchor is specified, the link to that address is represented by the text between the opening and closing anchor tags.
Applies To