HTML Reference Guide

Tag Index| Content List| HTML FAQ



The BASE element allows global reference information to be set. Use of the HREF attribute provides a base address for interpreting all relative URL references in a document when the document is read out of context. The TARGET attribute specifies a global frame destination name to be used for page activation changes (in links, forms and image maps.)


href - Indicates the base URL to interpret relative URLS in the current document.

target - Specifies the common Target frame for hyperlinks to load to when activated. The value for this attribute can be overridden on a case-by-case basis by indicating a different value in an A, AREA, or FORM element.

Example code:

<base HREF="" TARGET="_top">


See Also: