Skip to content
HTML.ONE
Home HTML Elements

HTML <base> Element

Sets a document-wide base URL or default link target; only the first applicable base is used.

Example

<head><base href="https://example.com/"><title>Example</title></head>

Further reference

HTML Living Standard