// Set the response content-type
header("Content-type: application/xhtml+xml");
header("Cache-control: no-transform");
// Write the XML declaration
echo '';
?>
Listing 5-1: Example of onload Event
onLoad Example
Re-load this page to watch the background color change below: