Click Me - I don't alert like I should. (JS in href attribute)

Click Me - I do alert like I should. (JS in onclick attribute)

Click Me - I do alert like I should. (JS in onclick attribute)