Highlighting HTML Markup Errors

By Deane Barker on October 14, 2007

Helping your client maintain markup quality: Interesting concept of a way to help your clients keep their markup clean: style it ugly when it’s wrong.

[…] one idea is to make any errors or suspicious markup obvious to the person working on the document.

One way of doing that is to use CSS the way Marco Battilana describes in the Accessites.org article Big Red Angry Text. […] You can use this to clearly mark things like deprecated elements, presentational attributes, and cruft you know that the WYSIWYG editor your particular CMS uses likes to leave behind unless the person using it is very careful.