488). What is the purpose of the Node object property ownerDocument?

[A]Returns the root element
[B]Returns the last element
[C] Returns the parent node
[D]Returns the immediate node

Show Answer

489). Which of the following Node object property returns the local part of the name of a node?

[A]lastName
[B]localName
[C]firstName
[D]objectname

Show Answer

490). What is the property textContent?

[A]Sets the textual content of a node
[B]Returns the textual content of a node
[C]Sets & Returns the textual content of a node
[D]Modifies texual content

Show Answer

492). Which of the following Node object property returns the node immediately before a node?

[A]previousSibling
[B]textContent
[C]index
[D]localName

Show Answer

493). What is the purpose of the method getUserData(key)?

[A] Returns the associated object
[B]Gets the user data
[C]Returns the user data
[D]Gets the user key

Show Answer

494). How to test if two nodes are equal?

[A]isEqualNode()
[B]equal()
[C]==
[D] equalto()

Show Answer

495). How to associate an object to a key on a node?

[A] getUserData()
[B]cloneNode()
[C]setUserData(key,data,handler)
[D]clonedata()

Show Answer

496). Which method is used to compare the placement of two nodes in the DOM hierarchy (document)?

[A] compareDocumentPosition()
[B] cloneNode()
[C]getUserData()
[D]getFeature()

Show Answer