Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Website Design (https://www.warriorforum.com/website-design/)
-   -   Html Validation error (https://www.warriorforum.com/website-design/771050-html-validation-error.html)

lovefax89 26th March 2013 07:26 AM

Html Validation error
 
I am trying to valid my html5 but i don't know how i can solve this error

Error and message is given below please tell how can i valid it ? or give validated code ?

<meta http-equiv="Cache-control" content="no-cache">
"Bad value Cache-control for attribute http-equiv on element meta"

kevbo22 26th March 2013 03:30 PM

Re: Html Validation error
 
For HTML5 you use a cache manifest file in the header. This is an example of how to use: http://www.w3.org/TR/html5/offline.html#manifests
Also, you force no cache with this:
<meta http-equiv="expires" content="0"> This is a good tutorial on how to use the cache manifest file: A Beginner's Guide to Using the Application Cache - HTML5 Rocks

thememass 27th March 2013 08:00 AM

Re: Html Validation error
 
Some of methods you should try:

Quote:

<meta http-equiv="cache-control" content="max-age=0" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />
<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
<meta http-equiv="pragma" content="no-cache" />
Pragma is your best bet. Try them out.


All times are GMT -6. The time now is 01:58 AM.