Javascript Reference
Categories: HEAD

javascript HEAD Description

@March 15, 2008, 1:22 a.m.
headFirefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1  

  

The head object reflects the head element. Accessing this object via its ID reference may not work in the Windows version of IE 4. You should use the document.all.tagsSQAREBRACKET collection instead. For IE 5 and later and Netscape 6, you can reference the element via its ID or the document.getElementsByTagName("head")[0] array reference.

 
HTML Equivalent
 
<head>
 
Object Model Reference
 
[window.]document.getElementById("elementID")
[window.]document.getElementsByTagName("head")[0]
 
Object-Specific Properties

profile

 
Object-Specific Methods

None.

 
Object-Specific Event Handler Properties

None.


Powered by Linode.