HTML how to make a button reload the page code example Example: refresh button html <button onClick="window.location.reload();">Refresh Page</button>