HTML and CSS Reference
There also are some document-related event handlers that occur when
various document elements get handled by the browser. For instance,
the onLoad event may happen when a frameset is complete or when the
body of an HTML or XHTML document gets loaded and displayed by the
browser. Similarly, onUnload occurs when a document is removed from a
frame or window.
You can replace any conventional URL reference in a document with
the browser references the URL. The result of the last statement is taken
to be the "document" referenced by the URL and is displayed by the
browser accordingly. The result of the last statement is not the URL of a
document; it is the actual content to be displayed by the browser.
ecuted whenever the user selects the hyperlink. The value returned by
the function, presumably a valid HTML or XHTML document, is rendered
and displayed by the browser.
It may be that the executed statement returns no value. In this case,