1006). What is the reason for avoiding the attributes property in the HTML DOM?

[A]Found unnecessary
[B]Attributes don’t have attributes
[C]Attributes have attributes
[D]Considered irrelevant

Show Answer

1007). What is the purpose of the method nodeMap.setNamedItem()?

[A]Sets ID
[B]Sets attribute node
[C]Sets element name
[D]Sets element type

Show Answer

1008). How is everything treated in HTML DOM?

[A]Node
[B]Attributes
[C]Elements
[D]Arrays

Show Answer

1009). What does the NamedNodeMap object represent in the HTML DOM?

[A]Unordered collection of elements
[B]Unordered collection of attributes
[C]Unordered collection of nodes
[D]Unordered collection of arrays

Show Answer

1010). What is the purpose of the Attr object in the HTML DOM?

[A] Used to focus on a particular part of the HTML page
[B]HTML Attribute
[C]Used to arrange elements
[D]CSS attribute

Show Answer

1011). What is the work of the form control elements in the HTML DOM?

[A]User Interface elements
[B]All the possible elements
[C]Debugging elements
[D]Collecting elements

Show Answer

1012). How are the objects organized in the HTML DOM?

[A]Class-wise
[B]Queue
[C]Hierarchy
[D]Stack

Show Answer

1013). Which of the following is a type of HTML DOM?

[A] Legacy DOM
[B] W3C DOM
[C] IE4 DOM
[D]All of the mentioned

Show Answer

1014). What is the purpose of the Legacy DOM?

[A]Makes the scripting easier
[B]Allows access to few keys and elements
[C]Modify the nodes
[D]Making the script modular

Show Answer

1015). Which object is the top of the hierarchy?

[A]Window Object
[B] Document Object
[C]Form Object
[D]Form Control Elements

Show Answer