0

The button named as Go>>> in this HTML is responding with enter key but not responsive with mouse click. What is problem?

<!DOCTYPE HTML> <html> <title> Result</title> <body style="background-color: blue"> <h1 style="text-align: center"> <u> BOARD RESULT </u></h1> <form style="text-align: center"> ROLL <br /> <input type="text" /> <br /> No. <br /> <input type="text" /> <br /> <br /> <a href="index.html"> <button> Go>>> </button> </a> </form> </body> <!--OKKKKK THIS SITE COMES UNDER K CREATION CREATED FOR PRACTICE --> </html>

11th Jun 2018, 5:21 AM
kamran hassan
kamran hassan - avatar
2 Answers
+ 1
remove the button and just use: <button onclick="location.href='index.html'">Go</a>
11th Jun 2018, 10:37 AM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
0
Put the <button> element before the <a href="">. If this does not work contact me and we can try something else :)
11th Jun 2018, 8:02 AM
Mason
Mason - avatar