In Firefox, there's a Extension called “Html Validator”. It adds a little indicator icon at the bottom right corner of your window. When a page you visit isn't valid, it lights up. You can click on it to see the errors. The really important feature of this extension is that it does not make a connection to w3c's validator. The same validating SGML parser used by w3c is bundled. This means it can validate local HTML files. (This is most the important use for me, as I do web development with manually coded html files. Each time I preview my HTML in a browser, I can also know whether it has validation errors.)
Is there anything similar in Google Chrome, Opera, Safari, or even IE? When I looked in the past years, all other validator I've seen simply send the current url to w3c's validator site.
In Firefox, there's a Extension called “Html Validator”. It adds a little indicator icon at the bottom right corner of your window. When a page you visit isn't valid, it lights up. You can click on it to see the errors.
In Summary. Validating any HTML you write as you build your websites will take the guesswork out of how the different browser rendering engines might render your website. This will help you to reduce the amount of time you spend debugging problems with your markup.
In order to validate your code, you have to declare the standard to which it adheres. To describe the HTML standard (the document type declaration, DTD), the file should contain a DOCTYPE declaration (before the HTML code). Here are a few examples (from http://www.htmlhelp.com/tools/validator/doctype.html).
I am the author of the Firefox extension. I have recently rewritten it for Chrome and the new Webextension API of Firefox.
See more info on the extension homepage:
http://users.skynet.be/mgueury/mozilla/index.html
The direct link from the Google Chrome store is this:
https://chrome.google.com/webstore/detail/html-validator/mpbelhhnfhfjnaehkcnnaknldmnocglk
Enjoy,
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With