• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Description

The base tag of a document sets a few basic parameters for the document—namely, what window or frame from which to aim all links, and what URI directory to base all relative links. Like the HTMLHeadElement, the base tag can easily be accessed in any DOM compliant browser with the following code.

var baseElements = document.getElementsByTagName('base')

If (baseElements.Length > 0)

  BaseElements = baseElements[0];


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint