how to use click event on a tag code example Example: on click in a tag <a onclick='newwin()'>Anchor</a>