encyclopegia.org

Meta refresh

Meta refresh is a method of instructing a web browser to automatically refresh the current web page or frame after a given time interval, using an HTML meta element with the http-equiv parameter set to " refresh " and a content parameter giving the time interval in seconds.[src] It is also possible to instruct the browser to fetch a different URL when the page is refreshed, by including the alternative URL in the content parameter.[src] By setting the refresh time interval to zero (or a very low value), meta refresh can be used as a method of URL redirection.[src]

Meta refresh is a method of instructing a web browser to automatically refresh the current web page or frame after a given time interval, using an HTML meta element with the http-equiv parameter set to " refresh " and a content parameter giving the time interval in seconds.[src] It is also possible to instruct the browser to fetch a different URL when the page is refreshed, by including the alternative URL in the content parameter.[src] By setting the refresh time interval to zero (or a very low value), meta refresh can be used as a method of URL redirection.[src] ==History== This feature was originally introduced by Netscape Navigator 1.1 (circa 1995), in a form of HTTP header and corresponding HTML meta HTTP-equivalent element, which allows document author to signal client to automatically reload the document or change to a specified URL after a specified timeout.[src] It is the earliest polling mechanism available for the web , allowing a user to see the latest update in a frequently-changing webpage, such as ones displaying football live scores or weather forecast.[src] ==Usability== Use of meta refresh is discouraged by the World Wide Web Consortium (W3C), since unexpected refresh can disorient users.[src] Meta refresh also impairs the web browser's "back" button in some browsers (including Internet Explorer 6 and before), although most modern browsers compensate for this (Internet Explorer 7 and higher, Mozilla Firefox, Opera, Google Chrome).[src] There are legitimate uses of meta-refresh, such as providing updates to dynamic web pages or implementing site controlled navigation of a website without JavaScript.[src] Many large websites use it to refresh news or status updates, especially when dependencies on JavaScript and redirect headers are unwanted.[src] ==Examples== Place inside the <head> element to refresh page after 5 seconds: Redirect to https://example.com/ after 5 seconds: Redirect to https://example.com/ immediately: ==Drawbacks== Meta refresh tags have some drawbacks: If a page redirects too quickly (less than 2–3 seconds), using the "Back" button on the next page may cause some browsers to move back to the redirecting page, whereupon the redirect will occur again.[src] This is bad for usability, as this may cause a reader to be "stuck" on the last website.[src] A reader may or may not want to be redirected to a different page, which can lead to user dissatisfaction or raise concerns about security.[src] Refresh: 5; url=https://www.example.com/ Alternatives exist for both uses of meta refresh.[src] You can refresh a web page using JavaScript location.reload method.[src] This code can be called automatically upon an event or simply when the user clicks on a link.[src] If you want to refresh a web page using a mouse click, then you can use the following code : Refresh this Page ==References== ==External links== W3C Web Content Accessibility Guidelines (1.0): Ensure user control of time-sensitive content changes meta refresh deprecated by W3C Use standard redirects: don't break the back button![src] H76: Using meta refresh to create an instant client-side redirect[src]

20 sentences · 20 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Meta refresh." encyclopegia.org, 2026, https://encyclopegia.org/wiki/meta-refresh. Accessed 25 November 2026.

Chicago

"Meta refresh." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/meta-refresh.

APA

encyclopegia.org. (2026). Meta refresh. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/meta-refresh

Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Meta'

stub · references available

Meta Seinemeyer

stub · references available

meta-system

stub · references available

Monti della Meta

stub · references available

Meta Knight

stub · references available

Meta Scheele

stub · references available

Meta Omankowsky

stub · references available

Meta turbatrix

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1378795664 · 0.5 · snapshot enwiki-001378795664

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.