base
Description
The base element for HTML 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.
Syntax
HTML
<base attribute-name="attribute-value"></base>
Attributes
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 |