HTML Element Reference

"base" - html element

  • The BASE element defines the document's base URI for resolving relative URIs contained within the document.
  • Starttag <base> is Required and endtag </base> is forbidden
  • A document can contain only one BASE element.
  • If the BASE tag is not specified the current document URL is used as the base.
  • The BASE element must appear inside the header section ('head' ), prior to any elements that include a partial URI.
  • Browsers that support the base - element : Internet Explorer Mozilla Firefox Opera Google Chrome Apple Safari

Attributes:
href , target

Attribute "href" value(s): uri
  • Specifies the location of a Web resource, thus defining a link between the current element (the source anchor) and the destination anchor defined by this attribute. Specifies an absolute URI that acts as the base URI for resolving relative URIs.



© 2010 by Finnesand Data. All rights reserved.
This site aims to provide FREE programming training and technics.
Finnesand Data as site owner gives no warranty for the correctness in the pages or source codes.
The risk of using this web-site pages or any program codes from this website is entirely at the individual user.