Implementing timed page refresh or redirect based on meta

Implementing timed page refresh or redirect based on meta

Use meta to implement timed refresh or jump of the page

XML/HTML CodeCopy content to clipboard
  1. < meta   http-equiv = "refresh"   content = "5" >      

This means that the current page is refreshed every 5 seconds. Refresh~

XML/HTML CodeCopy content to clipboard
  1. < meta   http-equiv = "refresh"   content = "2; url = '/'" >    

This means that the current page will jump to the home page after 2 seconds~

XML/HTML CodeCopy content to clipboard
  1. < meta   http-equiv = "refresh"   content = "0; url = 'http://www.qq.com/'" >    

The page jumps directly to Tencent.com~

The above is the relevant knowledge about how to implement timed refresh or jump of pages based on meta that I introduced to you. I hope it will be helpful to you!

<<:  Summary of seven MySQL JOIN types

>>:  Analysis and application of irregular picture waterfall flow principle

Recommend

Summary of some tips on MySQL index knowledge

Table of contents 1. Basic knowledge of indexing ...

Some tips on deep optimization to improve website access speed

<br />The website access speed can directly ...

Dockerfile implementation code when starting two processes in a docker container

I want to make a docker for cron scheduled tasks ...

JavaScript implements the nine-grid click color change effect

This article shares the specific code of JavaScri...

How to configure ssh/sftp and set permissions under Linux operating system

Compared with FTP, SSH-based sftp service has bet...

How to use html table (to show the visual effect of web page)

We know that when using HTML on NetEase Blog, we ...

A brief discussion of the interesting box model of CSS3 box-sizing property

Everyone must know the composition of the box mod...

How to write DROP TABLE in different databases

How to write DROP TABLE in different databases 1....

HTML Tutorial: Ordered Lists

<br />Original text: http://andymao.com/andy...

Html comments Symbols for marking text comments in Html

HTML comments, we often need to make some HTML co...

What qualities should a good advertisement have?

Some people say that doing advertising is like bei...

How to use custom images in Html to display checkboxes

If you need to use an image to implement the use ...

Briefly describe the difference between MySQL and Oracle

1. Oracle is a large database while MySQL is a sm...