Version | -//W3C//DTD HTML 4.01//EN | ||||||||
---|---|---|---|---|---|---|---|---|---|
Element | BASE | ||||||||
Purpose | document base URI | ||||||||
Description | This 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 tag | Required <BASE> | ||||||||
Attributes |
| ||||||||
Content | EMPTY | ||||||||
End tag | Forbidden | ||||||||
Referenced in | HEAD |