Many times we like the way a table looks when generated, but when you look at the code you see more style properties and non-XHTML compliant attributes that make shun away. The same thing happens when pasting from Word into a WYSIWYG. Trying to remove the unnecessary code can be laborious. That’s where WordOff comes in handy.
WordOff is a simple optimizer that strips unnecessary formatting from a chunk of HTML.
It uses the following rules to strip the extra stuff from your code:
- Attributes are removed for all elements except <a>s
- <span>s and <div>s are removed
- Empty elements are removed
- Consecutive line breaks are reduced to two
WordOff web app comes especially in handy when clients (like mine) give you a ten page Word document they want to be posted. I’ve seen more style=”MsoNormal”’s than I can count. WordOff fixes all this for me.