Output tag name from window event to status bar
<html> <head> <title>A Simple Page</title> <script language="JavaScript"> function tagInfo() { var tag; tag = window.event.srcElement.tagName; window.status = tag; } </script> </head> <body onMouseover="tagInfo()"> <h1>Heading One</h1> <p>Some text</p> </body> </html>