Single Choice Easy

QWhich of the above Node object properties returns the local portion of a node's name?

ID: #5184 Javascript DOM & Event Handling MCQ 123 views
Question Info
#5184Q ID
EasyDifficulty
Javascript DOM & Event Handling MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A lastName
  • B localName
  • C firstName
  • D objectname
Correct Answer

Explanation

The object's Node property localName returns the local portion of a node's name.
This property returns NULL if the specified node is not an element or attribute.

Share This Question

Challenge a friend or share with your study group.