base ElementThe base element is declared by the XHTML 1.1 Base Module
This is the only element in this Module.
The base element is used (within
the document head) to specify
an absolute base URI
against which all relative URIs in the document should be resolved.
The #REQUIRED href
attribute is used for this purpose.
No document may contain more than one base element.
If a base element is not present within a document,
the base URI is taken to be URI of the document itself.
For example, to ensure that all relative URIs within a document are resolved with respect to http://www.webcompliant.co.uk/, use the following:
<base href="http://www.webcompliant.co.uk/" />
Note that, for an object element,
the base URI may be changed using the
codebase attribute.
The href attribute is #REQUIRED on the base element.
base element are listed below:href [ type URI - #REQUIRED ]target [ type FrameTarget ]base element are listed below:base element is:
EMPTY
See Content Model & Nesting for information about Content Model syntax and Nesting Groups.
baseThis element is empty and may have no children.
basehead