MCQ Practice Single Best Answer Topic: Javascript DOM & Event Handling MCQ

Q What stands for the location property?

Question ID
#5088
Subchapter
Javascript DOM & Event Handling MCQ
Action
Choose one option below

Choose Your Answer

Click an option to check whether your answer is correct.

  • A Current DOM object
  • B Current URL
  • C Both DOM object and URL
  • D Document
Correct Answer: B

Explanation

The URL of the page now being displayed in that window is represented by the location attribute of a window, which is a reference to a Location object.

Share This Question

Share this MCQ with your friends or study group.