温馨提示×

html如何实现301跳转

小新
512
2020-12-25 19:04:48
栏目: 编程语言
前端开发者测试专用服务器限时活动,0元免费领,库存有限,领完即止! 点击查看>>

html如何实现301跳转

html实现301跳转的示例:

在对应的html文件中添加一下代码:

<head>

<!-- 以下方式只是刷新不跳转到其他页面-->

<meta http-equiv="refresh"content="10">

<!-- 以下方式定时转到其他页面-->

<meta http-equiv="refresh"content="5;url=hello.html">

</head>

亿速云「云服务器」,即开即用、新一代英特尔至强铂金CPU、三副本存储NVMe SSD云盘,价格低至29元/月。点击查看>>

推荐阅读:怎么实现全站301跳转

0