all
alt
ch
dir
id
min
rel
top
url
URL
urn
Expand Minimize

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:
© 2014 Microsoft