title: Open URL in new browser tab when click on HTML button
body: <p>I am designing a web site with CodeIgniter and I want to open some URL when user click on its buttons (URLs have to open in new tab).
  I use this code and it works when you want to open URL in same tab, but I want the URL to open in a new tab. I don't want to use JavaScript function too.</p>
  
  <pre><code>&lt;button type="button" onclick="location.href='http://google.com'"&gt;Google&lt;/button&gt;
  </code></pre>