Two problems with meta "tags" in my Document head.
Posted: Sun Mar 16, 2014 3:58 am
Hi,
I hope someone can help me. I'm trying to rewrite a couple of of extremely simple pages in HTML5 (yes I know).
I'm getting two errors, one from CSE 14.02 and the other from the W3C HTML Markup validation service and I'm completely confused.
These are the two sections.
1
<meta http-equiv="refresh" content="10; url=http://souvigne.pagesperso-orange.fr/homeuk.htm">
This fails CSE with error message
I've tried every permutation of quotes around the url=...htm part to no avail, Can anyone please SHOW me a syntax that WILL pass the CSE checker please. (I can't use server side redirection).
2
The other has to do with the Safesurf rating Metatag.
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.classify.org/safesurf/" L gen true for "http://souvigne.pagesperso-orange.fr/" r (SS~~000 1 SS~~000 1))' />
That passes CSE's checker without comment, but fails the W3C checker with the slightly unhelpful comment. "Bad value PICS-Label for attribute http-equiv on element meta." with the > end marker in bold and red. This code was what was sent to me by Safesurf and copied and pasted.
Thanks very much in advance.
I hope someone can help me. I'm trying to rewrite a couple of of extremely simple pages in HTML5 (yes I know).
I'm getting two errors, one from CSE 14.02 and the other from the W3C HTML Markup validation service and I'm completely confused.
These are the two sections.
1
<meta http-equiv="refresh" content="10; url=http://souvigne.pagesperso-orange.fr/homeuk.htm">
This fails CSE with error message
But it passes the W3C checker.When http-equiv="refresh", the content attribute must be 1) a valid non-negative integer or 2) a valid non-negative integer, followed by a ";" character, followed by one or more space characters, followed by "URL=" (case insensitive), followed by a valid URL that does not start with a quotation character.
I've tried every permutation of quotes around the url=...htm part to no avail, Can anyone please SHOW me a syntax that WILL pass the CSE checker please. (I can't use server side redirection).
2
The other has to do with the Safesurf rating Metatag.
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.classify.org/safesurf/" L gen true for "http://souvigne.pagesperso-orange.fr/" r (SS~~000 1 SS~~000 1))' />
That passes CSE's checker without comment, but fails the W3C checker with the slightly unhelpful comment. "Bad value PICS-Label for attribute http-equiv on element meta." with the > end marker in bold and red. This code was what was sent to me by Safesurf and copied and pasted.
Thanks very much in advance.