Name

BASE — NN n/a IE 4 DOM 1

Synopsis

A BASE object instructs the browser about the URL path to the current document. This path is then used as the basis for all relative URLs that are used to specify various SRC and HREF attributes throughout the document.

HTML Equivalent

<BASE>

Object Model Reference

IE

[window.]document.all. elementID

Properties

className

id

outerHTML

parentTextEdit

target

document

isTextEdit

outerText

sourceIndex

title

href

lang

parentElement

tagName

 

Methods

contains( )

removeAttribute( )

setAttribute( )

getAttribute( )

  

Collections/Arrays

all[]

children[]

 

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.