Report question

Question: is it bad practice to use href='javascript:func()' than onclick='func()' for anchors?