Working With HTML Tidy Tool
HTML Tidy, a tool created by David Raggett converts HTML documents into clean XHTML in a matter of seconds. In the beginning, it was designed to clean up HTML markup. Now, Tidy is included as a plug-in with most big-time HTML editors. In addition, Tidy comes in a version you can run from the command prompt and a GUI version ( Tidy GUI) .
Detects mismatched end tags - In most cases, Tidy will locate mismatched end tags and make the appropriate corrections.
Lowercases element and attribute names - Tidy will correct any uppercase element names and attribute names automatically.
This is not the end of what Tidy can do. In fact, you can customize Tidy to do just about anything relating to the conversion process. For example, you can control whether the modified version uses indentation for nested elements, or you can request that Tidy invoke only some, but not all, of the rules. To learn more about HTML Tidy’s many abilities and options.
Using Tidy GUI
Many of you might not be inspired by the command prompt. In fact, you may want to run from it. There are also some of you who won’t want to download another text editor. If you’re interested in using a GUI interface for Tidy but don’t want a full text editor attached, andre Blavier created a version that you just might get along with.
You simply browse for the file you want to Tidy by clicking the Browse button and the click the Tidy! button. After that, you click the show Output button and save the Tidied output to a new document to save it as your own.
Using Tidy from the Windows Command Prompt
If you remember the days of DOS, you may be comfortable using tidy as a stand-alone tool at the command prompt. Windows users who are uncomfortable working form the MS-DOS prompt.
Ø To fire up the DOS prompt, select Start - Programs – command Prompt or Ms-DOS Prompt, depending on your version of windows. (You might need to go to Start – Programs –Accessories - Command Prompt or MSDOS Prompt). A windows with a black background and text, C:> appears.