Click to return to the DHTML, HTML     
hover Pseudo-class     HREF Attribute | href Pro...     DHTML Properties    
Web Workshop  |  DHTML, HTML & CSS

href Property


Sets or retrieves the URL of the linked style sheet.

Syntax

HTMLN/A
Scriptingobject.style.href [ = sURL ]

Possible Values

sURLString that specifies the URL.

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

The property returns the URL if the style sheet is a LINK. If the style sheet is a STYLE, the property returns null.

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:
HTML N/A
Scripting styleSheet


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.