Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

href attribute | href property

Gets or sets the baseline URL on which relative links are based.

HTML 4.01 Specification, Section 12.4

 

Syntax

HTML<element href="p" ... >
JavaScript

p = object.href

 

Property values

Type: String

the URL.

Standards information

See also

base

 

 

Show:
© 2015 Microsoft