Click to return to the DHTML, HTML     
href Property     HREF Attribute | href Pro...     DHTML Properties    
Web Workshop  |  DHTML, HTML & CSS

HREF Attribute | href Property


Sets or retrieves the destination URL or anchor point.

Syntax

HTML<ELEMENT HREF = sURL ... >
Scriptingobject.href [ = sURL ]

Possible Values

sURLString 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

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:

A, AREA, LINK



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.