href onclick code example
Example 1: onclick href
onclick="location.href='http://www.hyperlinkcode.com/button-links.php'"
Example 2: on click in a tag
<a onclick='newwin()'>Anchor</a>
Example 3: onclick on anchor tag
<a href='more.php' onclick='show_more_menu()'>More >>></a>