title: HTML button opening link in new tab
body: <p>So this is the simple code for the button to open a certain link</p>
  
  <pre><code>                &lt;button class="btn btn-success" onclick="location.href='http://google.com';"&gt; Google&lt;/button&gt;
  </code></pre>
  
  <p>but it opens it on the same page, I want the link to open on a new tab though.</p>