any HTML coders out there?
Author
Discussion

_dobbo_

Original Poster:

14,619 posts

279 months

Friday 27th January 2006
quotequote all
This is one for the web designers out there!

I use the firefox "HTML validator" plugin to ensure that i'm writing w3c standards compliant code. Not sure why i do this, call it me being precious if you like... The plugin is built around a w3c code validator called "tidy".

here's where i've got a problem though - all the sites I write validate perfectly according to "tidy" by the w3c - for instance:

www.skinfull.co.uk

but they don't validate according to the w3c web validator - http://validator.w3.org/ (you have to type in www.skinfull.co.uk)

so what's that all about then? What's worse is that if I remove the elements that cause the online validator to throw up errors, the plugin validator then throws up errors instead... both claim to be w3c compliant, so which is correct?

i'll sit back and wait for no replies to this thread now, as on the boring geek scale this thread is in a fairly stellar position!


>> Edited by _dobbo_ on Friday 27th January 23:12

plasticpig

12,932 posts

256 months

Friday 27th January 2006
quotequote all
At a quick glance you are using the wrong Doctype.
So the W3C validator is validating against html 3.2 wheras you are using Xhtml.

See www.w3schools.com/tags/tag_doctype.asp for a full explanation.


aditya5670

1 posts

92 months

Sunday 3rd March 2019
quotequote all
Browsers also use the DOCTYPE to determine how to render a page.
https://www.welookups.com/tags/tag_doctype.html

Penelope Stopit

11,209 posts

140 months

Sunday 3rd March 2019
quotequote all
Thank you for the update