== Edited a bit more ==
Bad, bad idea. It will not appear as a link for one thing. If you need a button, but use <a> as one, just using <button> or <input type="button"> . As you said, "out of shipping." The whole point <a> is navigational.
Of these two methods, use href="#" , putting javascript:// in the link is worse than adding inline styles.
source share