PDA

View Full Version : W3C Validation Help



futurepocket
15 Jan 2011, 06:05 PM
Hi,
I am trying to W3C validate my website:

http://futurepocket.com

I've fixed most of the errors, but here are some of the remaining errors:

http://validator.w3.org/check?uri=http://futurepocket.com/&charset=(detect+automatically)&doctype=Inline&group=0&user-agent=W3C_Validator/1.1

Now, the first few warnings/errors have to do with Google Buzz's code, how would I fix that (aka remove the "url" so that it validates properly?).

The last error, I have absolutely NO idea how to fix. That has to do with the comments, do I have to leave that warning there?

Any and all help will be appreciated!

Wickham
16 Jan 2011, 01:12 AM
I think the first error is because of the & before url because it needs a character code & instead of & and it should still work.

It happens with several characters including = Look at the character codes here
http://www.tedmontgomery.com/tutorial/HTMLchrc.html

The last one means you have opened a p tag but not closed it so the div closing tag raises an error because of it. Your code


<p style="text-align: center;">
</div>

should have </p> after center;>
It means that you have opened a p tag and closed it immediately without any text inside,


<p style="text-align: center;"></p>
</div>

so you delete <p style="text-align: center;"> instead if you have nothing to put in it.