Open URL Using Button in Same or New Window

Opens a URL in either the same window or a new window. Uses the Button HTML tag. The code for the link is slightly different to make it open in a new window, vs same window.

<button class="button" 
  Opens in Same Window

<button type="button" 
  Opens in New Window


Produces the result: 

Copyright © Website Development | Disclaimer | Privacy Policy | Terms of Use