Monday, December 20, 2010

Berger Magicote Colour Chart

W3C Validation here is a plugin that you can not miss

If you're like me manic code "clean" and possibly "W3C Valid" (not just because it's nice to see the green light on the W3C page , but because valid html means more pages for accessibility and performance for positioning), do not miss this tool for Chrome and Firefox:
the Web Developer Extension by Chris Pederick

The functions are many and all very tasty, by resizing the browser window highlighting the meta-tags and graphics on the page, but the reason why I will point out today is that it has an entire section devoted to the W3C validation.
feature that won me over is the one that allows you to validate the sites running on the local server ... This means that if you develop locally on any language from php to jsp all'aspx, and as is likely before the publication of test pages on your localhost, you can also test the W3C validation before transferring the files to production server.

I first did this: I opened the page in my browser to localhost, I copied the source output and paste it into a file, and then shoot the file to the W3C validator . One brought her absurd.
Now with this wonderful plugin I'm leaving in the panel "tools" and simply select "Validate local HTML " (local or css). Virtually the same thing, but in a single click. :)

Note: although it is probably all right you will receive a warning:
"Using Direct Input mode: UTF-8 character encoding assumed"
will appear on your pages even if you have correctly inserted the meta tag Content-Type: appears when the validation is performed on a file submitted for upload to the validator (which is what the tool does).
Do not panic: the warning disappears when the pages are online.
conclusion, Highly recommended and very practical.
If you are interested in the topic, next time I'll explain how to validate XHTML 1.0 Strict documents although developed in Asp.net ... ;)

0 comments:

Post a Comment