VersionW3C//DTD HTML 3.2 Final//EN
ElementBASE
Purposebase context document
DescriptionThis element identifies the base (or "correct") location of the document. This is useful if someone copies the document from its original location. The browser will use value of the href attribute to resolve relative URL's. You should have at most one BASE element in the your document. It is useful for mirror sites, or as a record of the "original" site for a page. For example:
<HEAD>
 <TITLE>Hello World Demonstration Document</TITLE>
 <BASE Href="http://www.december.com/html/">
</HEAD>
Start tagRequired <BASE>
Attributes
NameTypeDefaultComment
href CDATA #REQUIREDUniform Resource Locator; see RFC1808 and RFC1738; url for base
ContentEMPTY
End tagForbidden
Referenced in HEAD
search Search · star Market
2023-06-19 · John December · Terms © johndecember.com