Saturday, February 5, 2011

Maximum time for HTML metatag refresh

In

<meta http-equiv="refresh" content="n">

Is there a maximum value for n? Is there a number large enough to where the browser, or whatever is counting down, will fail to refresh after n seconds?

  • No, there is not. At least not within reasonable terms...I'm sure there's a limit to an HTML attribute, but the amount of numbers you could fit into that limit would cause the refresh to take so long you'd probably fall asleep. :P

    From Salty
  • WebKit uses double to store the delay.

    From Gumbo
  • What about -1? It should be accepted as infinite, and the page will never refresh.

    From ExploreIt

0 comments:

Post a Comment