JavaScript -Schaltfläche href html

<button onclick="window.location='http://www.example.com';">Visit Page Now</button>
Comas Bot Bir