The <base> tag specifies the base URL/target for all relative URLs in a document.
There can be at maximum one <base> element in a document, and it must be inside the <head> element.
Example of Code
<!DOCTYPE html>
<html lang="en">
<head>
<title>Example of HTML base tag</title>
<base href="http://schools.inimisttech.com/">
</head>
<body>
<p>Learn <a href="tutorial/topic/Html/">HTML</a>.</p>
</body>
</html>
Output
Example of HTML base tag Learn HTML.
