hc_elementGetElementsByTagName
Curt Arnold
The "getElementsByTagName(name)" method returns a list
of all descendant Elements in the order the children
were encountered in a pre order traversal of the element
tree.
Create a NodeList of all the descendant elements
using the string "p" as the tagName.
The method should return a NodeList whose length is
"5" in the order the children were encountered.
Access the FOURTH element in the NodeList. The FOURTH
element, the first or second should be an "em" node with
the content "EMP0004".
2002-06-09