HTML forwarding syntax

 Common HTML forwarding can be achieved through the <meta> tag or JavaScript syntax. The method of the <meta> tag is to completely use HTML's own web page forwarding function, so there is no need to worry about users turning off the browser's JavaScript function and causing the forwarding Invalid, please see the following example.


HTML forwarding example
<meta http-equiv="refresh" content="0;url=URL to go to">
The http-equiv="refresh" in the example means refreshing, and the 0 on the right of the content equal sign means refreshing will be performed after zero seconds (the number of seconds can be determined by yourself), and the webpage will be taken to the "URL to go to", This "URL to go to" is the webpage to go to after forwarding!

PS. The <meta> tag to be forwarded must be placed between the <head></head> tags of the web page.

Post a Comment

0 Comments