The onclick version allows you pass 'this' as an argument, so you can refer back to the tag/object the click came from. Not possible with the protocol method:
yo yo yo
will spit out an alert popup with "yo yo yo", whereas
yo yo yo
will spit out 'undefined'.