URL OnClick
<button onclick="location.href='logout.php';">logout</button>
Poised Penguin
<button onclick="location.href='logout.php';">logout</button>
window.open(url);
window.open(url);