1、点击按钮打开新页面
通过window.open(新页面),打开新页面
<button type="submit" onclick="window.open('test.html')"> 返回</button>
//type 一定要是submit才能跳转
2、点击按钮在本页面打开
通过 window.location.href=“页面”,在本页面中打开该页面
<button type="submit" onclick="window.location.href='testceshi.html'">返回</button>
也可以通过添加超链接直接就在本页面中打开
<a href="testceshi.html"><button type="submit">我是超链接</button></a>