A script that executes when the user clicks the mouse button is an example of what?
An event handler
Return a value
Both of the above
Which of the following is executed first by a browser?
A script in the <head> section
A script in the <body> section
An event handler for a button
A script that executes when the user clicks the mouse button is an event handler.
Functions can both accept parameters and return values.
Scripts defined in the <head> section of an HTML document are executed first by the browser.