Example #1: Demonstrates onerror for image load using recommended technique for registering events
Example #2: Using In-line javascript is simplier, but blurs structure and behavior