Example #1: Demonstrates onerror for image load using recommended technique for registering events

lost image


Example #2: Using In-line javascript is simplier, but blurs structure and behavior

lost image2