[Chapter 21] Reference: URL.href
Author: David Flanagan
Date: Fri Aug 29 11:20:51 1997

#

| Chapter 21 JavaScript Reference |

# URL.href Property

## Name

URL.href Property---the complete URL specification

## Availability

Navigator 2.0, Internet Explorer 3.0

## Synopsis

    URL.href

## Description

`href` is a read/write string property of the URL object. It specifies the complete text of the URL, unlike other URL properties which specify only portions of the URL.

## See Also

"Area", "Document.links[]", "Link", "URL", "Window.location"

URL.hostname |  | URL.pathname