<meta http-equiv="Expires" content="">
Type |
---|
This META element defines the expiration date of the document being indexed.
The META element is placed inside the HEAD element.
<meta http-equiv="Expires" content="Fri, 31 Dec 2004 23:59:59 GMT">
Attribute | Value | Explanation |
---|---|---|
http-equiv=" " | Expires | - |
content=" " | GMT date | expiration date |
seconds |
The expiration date is specified by the GMT or number of seconds.
- GMT Date
<meta http-equiv="Expires" content="Fri, 31 Dec 2004 23:59:59 GMT">
- Number of seconds
-
<meta http-equiv="Expires" content="86400">
86400 sec = 24 hour
0 sec = Disables caching of the document
Example
<html>
<head>
<meta http-equiv="Expires" content="86400">
<title>TAG index</title>
</head>
<body>
</body>
</html>