方法1、在button标签外嵌套一个a标签,利用超链接进行跳转; 1 2 3 a href=https://www.baidu.com/ target=_blank button进入baidu首页/button /a 方法2、在button标签中添加nclick=window.location.href=页面url代码
| 方法1、在button标签外嵌套一个a标签,利用超链接进行跳转;
 方法2、在button标签中添加οnclick="window.location.href=‘页面url’"代码,使用onclick事件进行跳转。
 html页面自动跳转方法1.使用meta元素
 http-equiv=“refresh” 是刷新页面,5秒后执行刷新操作,url是跳转的目的页面地址。 
 这行代码的意思是只刷新,不跳转。 2.使用script代码立即跳转到hello.html页面。 
 或者 
 5秒后跳转到hello.html页面。 
 3.判断是否手机端
 | 
2021-05-27
2021-07-07
2021-05-27
2022-08-09
2022-02-26