HTML / CSS / JavaScript Tutorial

HTML Event attribute: onhashchange

[this page | pdf | back links]

The HTML onhashchange attribute specifies the event that is triggered when there is a change to the anchor part of a URL (i.e. the part after a #). It applies to <body> elements.


Contents | Prev | Next | HTML Attributes

Desktop view | Switch to Mobile