event as html attribute and register with a default handler
events with elements, link and button