我想製作一個鏈接到文件(spaceRace.html)
的按鈕,但我不知道如何讓按鈕鏈接到文件。HTML:鏈接到一個.html文件的按鈕
請告訴我應該在按鈕代碼中放什麼。
<button type="button" onclick="">1 Player Mode</button>
任何幫助將高度讚賞,
我想製作一個鏈接到文件(spaceRace.html)
的按鈕,但我不知道如何讓按鈕鏈接到文件。HTML:鏈接到一個.html文件的按鈕
請告訴我應該在按鈕代碼中放什麼。
<button type="button" onclick="">1 Player Mode</button>
任何幫助將高度讚賞,
<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>
究竟做 「鏈接到文件」 是什麼意思? – john
通過點擊按鈕,網頁將更改爲其他網頁(這是一個.html文件) – htmlKid
嘗試鏈接' phuzi