<input type="button" name="register" value="register" οnclick="location.href='register.html'"/>//在当前页面跳转到注册界面!
<button type="button" name="btn1" οnclick="window.open('http://www.baidu.com')">百度</button>//在新的页面打开百度
<input type="button" name="register" value="register" οnclick="location.href='register.html'"/>//在当前页面跳转到注册界面!
<button type="button" name="btn1" οnclick="window.open('http://www.baidu.com')">百度</button>//在新的页面打开百度