HTML & CSS
I have been trying to validate HTML code on my blog. So I went to use http://validator.w3.org/. And since I really dont know how to fix the stated errors. I used the Validate by Direct Input option which basically you can copy your file from your theme and paste it there and then it will give you all the errors and it will also generate a valid code for the same file.
So, I started going through my files one by one. But the fully thing is when I take the actual "validated" file that it has given me and paste it back to check for validation, it gives me (sometimes) even more errors than my original file?....
Does anyone know whats up with that? Am I missing something? Also is there any easy way to fix the errors? ...
Thank you all in advance.
Not quite sure what you mean by that. The validator points out errors, but doesn't fix them for you.
Sometimes there can be many errors that are cause by one or two mistakes early in the file that cause a cascade of errors down the page, so don't lose heart. There may just be a few typos in there. To help further, though, we'd need to see the page in question and have a look at the validator results. Or at least post a screen shot of the validator erros so we can help you interpret them.
Ralph, I believe the OP was talking about TIDY http://validator.w3.org/#validate_by_input+with_options having checked "Clean up Markup with HTML-Tidy"? I assume the Blog is dynamic and if so that might be causing some errors and the Tidy Lint isn't prefect either. Though like was mentioned cascading errors can occur.
Yes, that is exactly what I am talking about.
Thanks for the reply. I am talking about "Clean up Markup with HTML-Tidy" that outputs the valid code for your invalid codes.
I dont knwo if this helps or not, but here is the page on validator.w3.org with my results on it.
I am testing it from my blog BlogStash.com.
Thank you both in advance.
This topic is now closed. New replies are no longer allowed.