Examveda
Examveda

What is the return type of the hash property?

A. Query string

B. Packets

C. String

D. Fragment identifier

Answer: Option D

Solution(By Examveda Team)

The hash property returns the “fragment identifier” portion of the URL, if there is one: a hash mark (#) followed by an element ID.

Join The Discussion

Related Questions on Document Object Model and Event Handling