MDN self-hosted library · e01.org

`<base>` HTML document base URL element

Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.

html
<meta property="og:image" content="https://example.com/thumbnail.jpg" />
html
<base href="https://www.example.com/" />
<base target="_blank" />
<base target="_top" href="https://example.com/" />