+ 1
You have two ways to do it:
- method A, using an actual button tag and some (inline) JS:
<button onclick="document.location.replace(url)">Go to page</button>
- method B, using an anchor tag and some CSS:
CSS:
a.btn { padding: 5px 10px; background-color: #ddd; border: 1px solid #000; border-radius: 3px; text-align: center; color: #000; text-decoration: none; }
a.btn:hover { color: #000; }
HTML:
<a href="url" class="btn">Go to page</a>
In both methods, url should be a properly formatted url, like "http://www.sololearn.com".