HTML and CSS Reference
The browser has completed loading the document.
The browser has completed unloading the document.
The user has moved the browser window.
The user has resized the browser window.
The user has moved the scroll bar within the browser
The user has entered an input field.
The user has exited an input field.
The content of an input field has changed.
The user has selected text within an input or text
The user has submitted the Web form.
The user has reset the Web form.
Mouse and key-
The user has pressed a key.
The user has pressed and released a key.
The user has clicked the mouse button.
The user has double-clicked the mouse button.
The user has pressed the mouse button.
The user has released the mouse button.
The user has moved the pointer while within the object's
The user has moved the pointer beyond the object's
The user has moved the pointer into the object's
For the clock Web page, you'll trigger the NYClock() function when the page is
initially loaded by a browser by adding the onload event handler attribute to the <body>
tag as follows:
You'll make this change to the Web page now.