---
title: "自动刷新~"
author: "java_xiaoyi"
date: "2011-07-11T22:36:42Z"
tags: []
categories: ["Web前端"]
slug: "untitled"
draft: false
lastmod: "2011-07-11T22:40:39Z"
id: 1122029
url: "https://easyperson.iteye.com/blog/1122029"
---

HTML自己提供了一个refresh的方法，它是专门用来自动刷新的。 通过meta标签定义的http-equiv属性指定为refresh标签，然后再content中指定自动刷新的时间，在这里是指定为300s，url指定的是目标的页面。还有一点必须要注意，meta标签必须放在head标签才能起作用！