href property

Sets or retrieves the URL of the linked style sheet.

Syntax

JavaScript

p = object.href

 

Property values

Type: String

the URL.

Standards information

Remarks

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

See also

styleSheet

 

 

Show:
© 2014 Microsoft