MCQ
Single Best Answer
Easy
QWhat kind of data does the hash property return?
ID: #5090
Javascript DOM & Event Handling MCQ
126 views
Question Info
#5090Q ID
EasyDifficulty
Javascript DOM & Event Handling MCQTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer: Option D
Explanation
The anchor portion of a URL is set or returned by the hash attribute. If a hash mark (#) and an element ID are present, the hash property returns the "fragment identifier" component of the URL.
It can be reached by using the location.hash statement.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic