Edit This Code:
See Result »
This example uses the HTML DOM to assign an "onclick" event to a p element.
Click me.
Result: