onclick Event illustration:
onMouseOver illustration:
DevGuru.com