HTML head tag meta to achieve refresh redirection

HTML head tag meta to achieve refresh redirection

Copy code
The code is as follows:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="Refresh"
content="5;url=http://www.baidu.com">
</head>
<body>
<p>
sorry. We have moved. Your URL is
<a href="http://www.baidu.com">http://www.w3school.com.cn</a>
</p>
<p>You will be redirected to the new address in 5 seconds. </p>
<p>If you still see this message after 5 seconds, please click the link above. </p>
</body>
</html>

<<:  Introduction to the visual expression of the core content of web pages (picture and text)

>>:  Detailed explanation of TIMESTAMPDIFF case in MySQL

Recommend

Super detailed steps to install zabbix3.0 on centos7

Preface Recently, part of the company's busin...

MySQL master-slave replication principle and practice detailed explanation

Table of contents Introduction effect principle f...

MySQL's method of dealing with duplicate data (preventing and deleting)

Some MySQL tables may contain duplicate records. ...

Mobile web screen adaptation (rem)

Preface I recently sorted out my previous notes o...

How to manage docker through UI

Docker is being used in more and more scenarios. ...

CentOS 7.2 builds nginx web server to deploy uniapp project

Panther started as a rookie, and I am still a roo...

Implementation of Vue package size optimization (from 1.72M to 94K)

1. Background I recently made a website, uidea, w...

W3C Tutorial (16): Other W3C Activities

This section provides an overview of some other i...

ReactRouter implementation

ReactRouter implementation ReactRouter is the cor...

MySQL query optimization using custom variables

Table of contents Optimizing sorting queries Avoi...

4 Practical Tips for Web Page Design

Related articles: 9 practical tips for creating we...

How to block IP and IP range in Nginx

Written in front Nginx is not just a reverse prox...

Beginners understand MySQL deadlock problem from source code

After many difficult single-step debugging late a...