base

The base element represents a document-wide base URL for the purposes of resolving relative URLs, and a document-wide default browsing context name for the purposes of following hyperlinks.

Attributes

<base attribute-name="attribute-value">
Name Value Description
href URI Base URL for the document
target browsing-context name or keyword Browsing context name or keyword for use in following hyperlinks - HTML5

Global

Example | href

Example | target

External

W3C HTML 4.01 Specification

W3C HTML5

W3C HTML 5.1