January 10, 2001 - The Document's First Child
January 10, 2001|
The Document's First Child
Tips: January 2001
Yehuda Shiran, Ph.D.
firstChildproperty of the
documentobject. In Netscape 6, the
documentobject's first child (as well as its last child) is
HTML. Click this button in Netscape 6, and see for yourself. Click in Internet Explorer and observe the error message:
Examine its last child:
lastChildare defined by the Document Object Model (DOM). Learn more about the DOM in Columns 40, The DOM, Part I: Analysis, through Column 47, A DOM-Based Snakes Game, Part II.