1For button redirection you can use below code:
2
3Using these two type <button> and <input> tag:
4
5<a href="http://www.google.com/">
6 <button>Visit Google</button>
7</a>
8
9or:
10
11<a href="http://www.google.com/">
12 <input type="button" value="Visit Google" />
13</a>
14
15<!--
16I hope it will help you.
17Namaste
18-->
1<button id="myButton" class="float-left submit-button" >Home</button>
2
3<script type="text/javascript">
4 document.getElementById("myButton").onclick = function () {
5 location.href = "www.yoursite.com";
6 };
7</script>
1You can make <button> tag to do action like this:
2
3<a href="http://www.google.com/">
4 <button>Visit Google</button>
5</a>
6or:
7
8<a href="http://www.google.com/">
9 <input type="button" value="Visit Google" />
10</a>
11It's simple and no javascript required!