HTML and CSS Reference
In-Depth Information
Defines the base URL for other anchors in the
Attributes href , target
None in HTML; </base> or <base ... /> in
End tag
Contains Nothing
Used in
The <base> tag should appear only in the document header, not in its
body contents. The browser thereafter uses the specified base URL, not
the current document's URL, to resolve all relative URLs, including those
found in <a> , <img> , <link> , and <form> tags. It also defines the URL that
will be used to resolve queries in searchable documents containing the
<isindex> tag. [ Referencing Documents: The URL, 6.2 ] The href attribute
The HRef attribute must have a valid URL as its value, which the browser
then uses to define the absolute URL against which relative URLs are
based within the document.
Search WWH ::

Custom Search