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