References

Collection of references for web development.

HTML base tag

Description

The HTML <base> element represents the base URL to be used for all URLs in a document.

Attributes

Attribute Value Description
href URL Determines the URL to where the link will point to or the name of the anchor.
target _self
_blank
_parent
_top
framename
Specifies where to display the URL.

Example

<base href="https://www.example.com/">