jump

HTML 5: The Markup Language (ARIA Edition)

meta http-equiv=refresh“refresh” pragma directive # T

The meta element with a http-equiv attribute whose value is "refresh" represents a pragma directive that specifies either a number of seconds after which to reload the current page, or a number of seconds after which to load a different page in place of the current page, and the URL for the replacement page.

Permitted contents #

empty (void element)

Permitted attributes #

global attributes
Any attributes permitted globally.
http-equiv = d:string "refresh" #
Indicates that the meta element is a pragma directive that specifies either a number of seconds after which to reload the current page, or a number of seconds after which to load a different page in place of the current page, and the URL for the replacement page.
content = refresh value #
Specifies one of the following:
  • the number of seconds after which to reload the current page
  • the number of seconds after which to load a different page in place of the current page, and the URL for the replacement page
Any one of the following:

Tag omission #

The meta element is a void element. A meta element must have a start tag but must not have an end tag.

Permitted parent elements #

any element that can contain metadata elements, noscript

DOM interface #

interface HTMLMetaElement : HTMLElement {
           attribute DOMString name;
           attribute DOMString httpEquiv;
           attribute DOMString content;
};