Home > Article > Web Front-end > html jump to other pages in two seconds
This time I will bring you html to jump to other pages in two seconds. What are the precautions for html to jump to other pages in two seconds? The following is a practical case, let’s take a look.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> < head > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>无标题文档</title> </head> <body> <if condition="$id eq 1"> <meta http-equiv="refresh" content="2; URL=APP/index.php/Select/chaxun"> {$rows} <font color="#FF0000">两秒后自动跳转!</font> </if> < foreach name="rows" item="val"> {$val.id} ------ {$val.name} <hr /> <a href="APP/index.php/Select/chaxun">点击返回继续 查询 !</a> </foreach> </body> </html>I believe you have mastered the methods after reading these cases. For more exciting information, please pay attention to php Chinese website
Other related articles!
Related reading:How to use the html area image hotspot
How to use the trigger method to achieve pop-up file selection without clicking the file type input Dialog
The above is the detailed content of html jump to other pages in two seconds. For more information, please follow other related articles on the PHP Chinese website!