MCQ PracticeSingle Best AnswerTopic: 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 ✔✖
B
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.