HTML href property
Example
Specify a base URL for all relative URLs on the page:
Try it »
Browser support





All major browsers support the href property.
Definition and Usage
The href attribute specifies the base URL for all relative links in the page.
Syntax
HTML