Building Your Learning Module...
Getting things ready for you!
Find videos you like?
Save to resource drawer for future reference!
Place the <base href="https://example.com/"> tag inside <head>. Subsequent links resolve relative to that URL until another base overrides it.
Relative links resolve against the base tag.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Base Element Demo</title>
<base href="https://example.com/">
</head>
<body>
<p>Use <code><base></code> to set the default URL for all relative links.</p>
<p><a href="docs.html">Internal docs</a></p>
</body>
</html>Loading preview...