base (2)





BASE - Document Base URI
















BASE - Document Base URI





Syntax
<BASE>


Attribute Specifications


HREF=URI (base URI reference)
TARGET=FrameTarget (frame to render links in)




Contents
Empty


Contained in
HEAD


The BASE element defines the document's base URI for resolving relative URIs contained within the document. A document cannot contain more than one BASE element. When present, the BASE element must appear in the HEAD, prior to any elements that include a partial URI.
BASE's HREF attribute, required in HTML 4.0 Strict, specifies the absolute URI used to resolve relative URIs. See Using Relative URLs for more details on using and resolving relative URIs.
Most Web pages do not require an explicit base URI since the document's URI is a suitable base. An explicit base URI is only required when the same document may be accessed at different URIs or when the document has no URI (e.g., sending an HTML document by e-mail).

The TARGET attribute is used with frames to specify in which frame all links in document should be rendered by default. The target frame specified by BASE can be overridden by a given link using the link's TARGET attribute.
If no frame with the specified target name exists, the links are rendered in a new window unless overridden by the user. Special frame names begin with an underscore:

_blank renders the links in a new, unnamed window
_self renders the links in the current frame
_parent renders the links in the immediate FRAMESET parent
_top renders the links in the full, unframed window


More Information

BASE in W3C HTML 4.0 Recommendation
BASE in W3C HTML 3.2 Recommendation
BASE in HTML 2.0 Standard
BASE in WDG HTML 3.2 Reference
BASE in Learning HTML 3.2 by Examples
RFC 1808: Relative Uniform Resource Locators


Maintained by Liam Quinn <liam@htmlhelp.com>
HTML 4.0 Reference ~ Elements by Function ~ Elements Alphabetically
Copyright © 1998 Liam Quinn. All rights reserved.





Wyszukiwarka

Podobne podstrony:
base (4)
Lab31 R1 Base Cfg
techniques de base
Larry Niven Passing Perry Crater Base, Time Uncertain
BUILDING A SHED BASE
3E D&D Adventure 05 Base of Operations
SAS Base 2006
base (3)
URI Base
function base convert
base c
2005 12 Reaching Base Building a Database Application Using Ooo Base
base (2)
Stitch Ladder Stitch Base Row
base
function base convert
adjusted cost base
base

więcej podobnych podstron