--- layout: single elementName: base ---

# base

Defines the base URL for all relative links of a web page. Should be placed in the <head>.

Example: Copy

href

Defines the base target of all links of the web page.

"{{site.url}}"

You can pass an absolute URL.

target

Defines in which tab or window the links of the web pages will show up.

"_blank"

Opens in a new browsing context, which is usually a new tab.

"_self"

Opens in the current tab.

"_parent"

Opens in the parent browsing context, or _self is there is none.

"_top"

Opens in the top browsing context, or _self is there is none.