WordOff – Clean Your Code

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.

4 Responses to WordOff – Clean Your Code

  1. Dude! I love your website but why have you not been updating it?

  2. This is a great blog but its sad to see it not getting updated…..is it coming back?

  3. It would be nice if the idea of “theDailyapp” came back into play…

Leave a Reply

Comment moderation is enabled. Your comment may take some time to appear.

SEO Powered by Platinum SEO from Techblissonline