The base tag
Sets a starting address for all relative links.
HTML · The base tagIntermediate
<!DOCTYPE html>
<html lang="en">
<head>
<base href="https://example.com/docs/" target="_self">
<title>Docs</title>
</head>
<body>
<a href="intro.html">Relative to the base</a>
</body>
</html>basehreftargetlinks