HTML Cleaner is on online tool you can use to clean up messy code created by saving a Word or Excel document as a webpage. It can also clean up the messy code created by using a WYSIWYG editor. This includes cleaning up your tables. Tables should only be used for presenting data and they can have quite a bit of excessive code if created in Word or Excel.
If your pages are filled with unwanted messy code it can affect not only the uniform look and feel of your website, but at the same time it's very unhealthy from the SEO's point of view. So this simple tool can be a big help to you.
Opening HTML Cleaner presents you with two input fields - a WYSIWYG editor on the left and a plain text editor on the right. Copy and paste the code you want to clean into the right hand side plain text editor. On the left hand side you will see how your code displays. For the purpose of this article, I am using Cemeteries in Washington County as an example. It is a large table and if you view source to see all of the generated code.
Further down on the page is the control panel where you can set up the cleaning preferences. This is a list of checkboxes with the most commonly used operations a web editor might need. Once you click the big Clean HTML button, the checked operations are going to be executed on the current HTML source.
The results will be displayed. The text editor on the right will show your cleaned code and the WYSIWYG editor will show you how the page displays. NOTE: If you are cleaning a table and have any empty cells, make sure you have unticked
Next to the settings is the section allocated to the Find and replace tool. You can add up to 12 substitutions which will be executed once the other HTML cleaning operations have been completed.
Example of a table that has hyperlinks
Example of a table that has hyperlinks CLEANEDExample of a table that has hyperlinks CLEANED and STYLED
IMPORTANT NOTE: Using the free version of the HTML Cleaner requires that you include links in the edited documents. This cleanup tool might add a promotional third party link to the end of the cleaned documents and you need to leave this code unchanged as long as you use the free version.
A much more detailed tutorial can be found here.
Expression Web 4.0 Tutorials 2nd Edition from Install to Publish, a FREE EBook by Pat Geary.
Expression Web has a group on Facebook. If you are a FB user, come join us.
Disclosure: This is an affiliate link, which means that if you visit Bluehost.com through this link and purchase this product, I’ll get a commission.
April 2007 - April 2013
Privacy Policy | Migrating from FrontPage to Expression Web
Microsoft® and Expression Web® are registered trademarks of Microsoft® Corporation.
Site Design & Maintenance : Expression Web Tutorials & Templates