when running my site through the http://validator.w3.org i get a ton of errors
one that i am sure is not caused by me is this one:
Bad value for attribute href on element link: Must be non-empty.
rel=”stylesheet” href=”” type=”text/css” /><link
what causes this error? how can this be solved?
btw: even the demo http://demo.tagdiv.com/newspaper/ has 44 errors following the w3 validator
-
This topic was modified 11 years by
tomdouble.
Hi,
Could you send me an URL to your site so I can inspect and check this? I have run the validation for the demo and did noticed the errors reported there but I don’t find them reliable.
For example, the “alt” attribute that was pointed here as missing: http://screencast.com/t/FyfYAD64 it’s present but it’s just not added in the alt filed when the image was added.
You could also verify the source code because there are reported errors which aren’t really there.
Hope this helps!
Thanks!
Anecdotal: I had same issue with light box on my main business site (not running WordPress). We worked hard to explicitly conform everything to the validator back in 2011, but now with the CSS3/HTML5 stuff the validator throws a LOT of errors, hence why the HTML5 validator is labeled “experimental.” It tells me my light box pop up code isn’t supported in HTML5, and yet it works and is correct for CSS3/HTML5, but not CSS2. Soooo, even with correct doc types, etc., it gets confused on some stuff. It’s also a bit funky with mod_pagespeed elements. I got our main site to only throw 2 errors simply by changing couple of things (oh, like the old ASCII code for the trademark symbol should be the four number version not the old three number version, etc.).
That may not help, but Lucian can help sort it if he can see link to your website page.
my site: http://www.ballsicher.com/
i am aware that there are errors i have to adress and which are not theme releated like the align attribute.
but what concerns me are things like empty href=”” or “” on the end of an URL which produces 404s.
please also have a look here: https://www.dropbox.com/s/ks889182a1qn4hu/crawl_path.xlsx?dl=0
this is what the crawler finds – keep attention to the line where the statuscode is 404 – there is this /”” at the end of the url instead a simple /
having hundreds of pages with this 404 is very bad.
i have no idea where this /”” comes from
and some more info on that /”” http://gyazo.com/baae80bce49fe9eb50771d1650426168
http://gyazo.com/b158d313a663d5529e94620df9a39e3b
-
This reply was modified 11 years by
tomdouble.
Hi,
Please turn off the minify option for JS and CSS and do the test again. Also noticed that you have this errors in the console: http://screencast.com/t/ALIouf4Lsd
Thanks
