HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

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

Global

NameValueDescription
hrefURIBase URL for the document
targetbrowsing-context name or keywordbrowsing context name or keyword for use in following hyperlinks

Examples

1 · href

2 · target