HTML and CSS Reference
In-Depth Information
The tag's http-equiv attribute tells the HTTP server to include the Re-
fresh field, with a value specified by the content attribute (if any, care-
fully enclosed in quotation marks), in the string of headers it sends to
the client browser just before it sends the rest of the document's con-
tent. The browser recognizes the Refresh header as the mark of a dy-
namic HTML document and responds accordingly, as we discuss in the
next section.
13.2.2. The Refresh Header Contents
The value of the content attribute in the special Refresh <meta> tag de-
termines when and how the browser updates the current document. Set
it to an integer, and the browser delays that many seconds before auto-
matically loading another document. You may set the content field value
to 0, meaning no delay at all. In that case, the browser loads the next
document immediately after it finishes rendering the current one, which
allows you to achieve some very crude animation effects. [ <meta>,
6.8.1 ]
13.2.2.1. Refreshing the same document
If the Refresh field's content value is just the number of seconds, the
browser reloads that same document over and over again, delaying the
specified time between each cycle, until the user goes to another docu-
ment or shuts down the browser.
For example, the browser reloads the following client-pull document
every 15 seconds:
<html>
<head>
<meta http-equiv="Refresh" content="15">
<title>Kumquat Market Prices</title>
</head>
<body>
<h3> Kumquat Market Prices</h3>
 
Search WWH ::




Custom Search