学习就是一个不断积累的过程,每一天能够学到一点新东西说明自己就在进步!!
HTML head 里面设置页面自动刷新功能
<meta http-equiv="Refresh" content="2">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
兼容Ie
页面2s自动刷新一次
代码:
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <meta http-equiv="Refresh" content="2"> <title>Document</title> </head> <body> <h1>Hello world</h1> </body> </html>
原文地址:https://www.cnblogs.com/a-dong/p/10067776.html
时间: 2024-11-05 23:29:02