---
hide_title: false
hide_table_of_contents: false
pagination_next: null
pagination_prev: null
---
# URL.href

The **`href`** property of the `URL` interface is
a string containing the whole URL.


## Value

A string.
