onclick= window.location.href open in new tab html code example
Example: onclick open new url html
<input type="button" value="button name" onclick="window.open('http://www.website.com/page')" />
<input type="button" value="button name" onclick="window.open('http://www.website.com/page')" />