July 11, 2005

Fixing HTML

Does anyone know of a program/website which can check the code on our sites and either fix it, or provide a list of errors?

Posted by Mark N at July 11, 2005 12:41 PM | TrackBack

HTML Tidy is a good one for analysing and fixing errors:


If you just want a list you can use the W3C's HTML validator but that can get a little painful if you have loads of pages to check so I'd go with Tidy

Posted by Rob at July 11, 2005 01:58 PM

I would endorse Rob's recommendation.

I use a free HTML editor, HTML Kit (http://www.chami.com/html-kit/), which has Tidy built in for error checking.

Posted by JohnL at July 11, 2005 08:10 PM

If you use Firefox, there's an extension for it that adds Tidy html checking when you View Page Source from the right-click menu of a page.

The extension can be found at

Posted by Light & Dark at July 11, 2005 11:20 PM

Yeah, there's a good firefox extension called Web Developer. It will do Compliance checks etc. too.

Posted by Oorgo at July 12, 2005 09:47 PM

I did download the Firefox extension successfully, but when I run it after viewing the Page Source, it catches "errors" and "warnings" in my code. It cannot fix "warnings"automatically as it normally would unless "errors" are first fixed. Of course, the instructions are incomplete (is it just me but techies cannot write instructions for anything?) and it does not tell me how to fix the "errors" first so that "warnings" can be corrected.

Went to the Chami site and after unzipping the program, I'm left with this dll icon that just sits there.

Dazed and confused.

Posted by Mark at July 13, 2005 01:41 AM

having recommended tidy I would caveat that the best way to fix your code is to sit down with a copy of the spec for html / xhtml and work your way through your source code... there are loads of tools to point out where you went wrong but fixing it normally just takes graft ;-)

Good luck!

Posted by Rob at July 14, 2005 11:10 AM

Tidy finds errors but does not actually do anything about them. Not helpful at all.

Posted by Mark at August 1, 2005 06:34 AM
Live Comment Preview
Post a comment

Remember personal info?