html text onclick href code example
Example 1: on click in a tag
<a onclick='newwin()'>Anchor</a>
Example 2: onclick on anchor tag
<a href='more.php' onclick='show_more_menu()'>More >>></a>
<a onclick='newwin()'>Anchor</a>
<a href='more.php' onclick='show_more_menu()'>More >>></a>