I have a form where there\'s a \"Submit\" button and a \"Cancel\" anchor. The HTML is this:
I Suggest you to use both Input Submit / Button instead of anchor and put this line of code onClick="javascript:location.href = 'http://stackoverflow.com';" in that Input Submit / Button which you want to work as link.
onClick="javascript:location.href = 'http://stackoverflow.com';"
Submit Example
Button Example
Submit