HTTP-equiv Directives

HTML meta http-equiv="refresh"

Requests a timed navigation. A number alone can reload the current page. Avoid unexpected redirection for accessibility and prefer server redirects for permanent URL changes. The example navigates after 30 seconds if left open; it uses an illustrative local path.

Formal Syntax & Structure

html syntaxhtml
<meta http-equiv="refresh" content="30; url=/next.html">

Parameters & Attributes

NameTypeDescription
http-equivpragma keywordUse refresh.
contentdirective-specific valueExample: 30; url=/next.html.

Working Example

Example Snippethtml
<!doctype html><html lang="en">  <head>    <meta charset="utf-8">    <title>Example</title>    <meta http-equiv="refresh" content="30; url=/next.html">  </head>  <body>    <p>Example document</p>  </body></html>
HTML Reference