HTML and CSS Reference
Table 3-14. ( continued )
Runs the Script ...
When the browser window is resized
When the user leaves the web page
The onreadystatechange Event Handler
The only event handler supported exclusively by the Document objects is onreadystatechange , which is triggered
every time the readyState changes which holds the status of the server response to our request.
Clipboard Event Handlers
The clipboard event handlers supported by HTML5  are summarized in Table 3-15 .
Table 3-15. Clipboard Event Handlers in HTML5
Runs the Script...
When the user copies the content of an element
When the user cuts the content of an element
When the user pastes some content in an element
When initiating a copy operation
When initiating a cut operation
When initiating a paste operation
Touch Event Handlers
In HTML5 web applications, you can handle touch events from a mobile device or computer touchscreen by using
touch event handlers on the HTML5 canvas to capture the user's movements and allow them to draw on the canvas.
Table 3-16 summarizes the touch event handlers supported by HTML5 .
Table 3-16. Touch Event Handlers
Runs the Script When...
A touch point has been disrupted
The user removes a touch point from the touch surface, or the touch point physically left the
The user moves a touch point along the touch surface
The user places a touch point on the touch surface
13 Unlike all the other window event handlers, onresize is a global event handler which is supported by all HTML5 elements as
well as all Document and Window objects.