MCQ Bank
Element nodes do not have a _________ value.
- A) text
- B) loop
- C) audio
- D) video
The removeAttribute() method removes _________ by its name.
- A) Attribute value
- B) None of the given
- C) Root node
- D) Attribute node
The attributes property of an element node returns a list of attribute nodes. This is called a named _________ .
- A) node map
- B) node function
- C) function node
- D) array map
The _________ property of a node list is the number of nodes in the list.
- A) height
- B) count
- C) length
- D) width
Which of the following nodes can be created by using create CDATASection() method?
- A) Parent node
- B) Child node
- C) CDATA section node
- D) None of the given options
In the XML DOM, each node is a/(an) ________.
- A) Property
- B) Root
- C) Object
- D) Parser
All nodes have _________ parent node/nodes.
- A) exactly four
- B) exactly two
- C) exactly one
- D) exactly three
During a server request, the readyState changes from ____ to ____ .
- A) 1,3
- B) 1,4
- C) 0 , 4
- D) 2,2
All modern browsers support the ______ specification.
- A) W3C DOM
- B) W2C DOM
- C) W1C DOM
- D) W4C DOM
If the node type is _______ it is an element node
- A) 1
- B) 0
- C) 3
- D) 2
The ____________ method can also be used to remove a text node.
- A) textChild()
- B) updateText()
- C) removeChild()
- D) childText()
replaceData() method has __________ parameters :
- A) 1
- B) 3
- C) 4
- D) 2