O'Reilly logo
  • Ahmed Elgendy thinks this is interesting:

Go ahead and create a new file, “event.html”, and add the code to test your load event handler. Load the page into the browser and make sure you see the alert.

image with no caption

B

From

Cover of Head First JavaScript Programming

Note

How does the browser read HTML code? In other words, what is the order of the code execution?