This works: <button onclick='f(arg)'></button>
<button onclick='f(arg)'></button>
This also works (on Firefox): <button onclick=f(arg)></button> (ie. no apostrophes or double quotes).
<button onclick=f(arg)></button>
But I wonder if no apostrophes or double quotes works in general (eg. for other browsers)?