nerdexam
Zend

200-530 · Question #129

What method can be used to find a tag with the name "foo" via the DOM extension?

The correct answer is B. getElementsByTagName(). See the full explanation below for the reasoning.

Question

What method can be used to find a tag with the name "foo" via the DOM extension?

Options

  • AgetElementById()
  • BgetElementsByTagName()
  • CgetElementsByTagNameNS()
  • DgetElementByName()
  • EfindTag()

How the community answered

(27 responses)
  • B
    74% (20)
  • C
    4% (1)
  • D
    15% (4)
  • E
    7% (2)

Community Discussion

No community discussion yet for this question.

Full 200-530 Practice