a tag on clock run fuction in JS code example Example: on click in a tag <a onclick='newwin()'>Anchor</a>