This example demonstrates how to assign an "onmousedown" and "onmouseup" event to a p element.
Click me.