---
title: Base Tag
---
## Base Tag

`<base>` tag must be inside the `<head>` element and contains a URL which serves as the base URL for all relative URLs in the page. There can be a maximum of one `<base>` tag in a page.

Example usage:
```html
<head>
  <base href="https://www.example.com/path/" target="_blank">
</head>
```

#### More Information:

- <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base">&lt;base&gt;: The Document Base URL element</a>
