Here's some useful resources if you ever need to splunk into the intricacies of how events are handled in HTML: