Name

HEAD — NN n/a IE 4 DOM 1

Synopsis

The HEAD object reflects the HEAD element. Accessing this object via its ID reference may not work in the Windows version of IE 4. Use the tags[] collection instead, as shown later in this reference section.

HTML Equivalent

<HEAD>

Object Model Reference

IE

[window.]document.all. elementID

[window.]document.all.tags("HEAD")[0]

Properties

className

id

parentElement

tagName

title

document

isTextEdit

sourceIndex

outerText

style

Methods

contains( )

removeAttribute( )

setAttribute( )

getAttribute( )

 

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.