The base tag in HTML is used to specify a default URL or a default target for all the links in a webpage. It specifies the base URL/target for all relative URLs in a page. The base tag goes inside the head element.
Example:
```
In the above example, if there are any relative links in the web page, they will start from the URL specified in the base href.