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>
2 Réponses
+ 1
remove the button and just use:
<button onclick="location.href='index.html'">Go</a>
0
Put the <button> element before the <a href="">. If this does not work contact me and we can try something else :)