-5

I'm trying to make a button that links to a file (spaceRace.html), but I don't know how I would get the button to link to the file.

Please tell me what I should put in the button code.

<button type="button" onclick="">1 Player Mode</button>

Any help would be highly appreciated,

htmlKid
  • 1
  • 4

1 Answers1

-1

<a href = "spaceRace.html"><input type = "button" style = "color:red; height:100px;width:125px; font-size:10px;font-family:'COMIC SANS MS' " value = "1 Player Mode"/></a>
Uma Kanth
  • 5,659
  • 2
  • 20
  • 41