411). The central object in a larger API is known as __________

[A]Document Object Material
[B]Document Object Model
[C]Binary Object Model
[D] Data object model

Show Answer

412). The paragraph “p” is a part of __________

[A]h1
[B]body
[C]html
[D] both body and html

Show Answer

413). The node directly above a node is called __________

[A]sibling
[B]child
[C]parent
[D]ancestors

Show Answer

414). The Text and Comment is part of __________

[A]CharacterData
[B]Document
[C]Attr
[D]Element

Show Answer

415). The nodes that represent HTML elements are the __________

[A]Subclass nodes
[B]HTML nodes
[C]Window nodes
[D]Element nodes

Show Answer

416). Which of the following is/are of Text nodes?

[A]Text
[B]Comment
[C]Both Text and Comment
[D]h1

Show Answer

417). Which is not the way to query a document for an element or elements?

[A]With a specified id attribute
[B]Matching the specified CSS selector
[C]With the specified tag name
[D]without the specified CSS class or classes

Show Answer

418). Which of the following can be used to select HTML elements based on the value of their name attributes?

[A]getElementByName()
[B]getElementsByName()
[C]getElementsName()
[D]getElementName()

Show Answer

419). Which of the following property refers to the root element of the document?

[A]documentElement
[B]elementdocument
[C]rootdocument
[D]rootelement

Show Answer

420). The return type of getElementsByClassName() is __________

[A]DOM
[B]Document
[C]Node
[D]NodeList

Show Answer