Award Sites!  ... "Bettering the Internet Experience!"

Cemetery Woods by David G. Bancroft

AIT Web Hosting and Domains ... Veteran Supported

Home | Articles | Exemplary | Achievement | NovaSite
Resources |
Tutorials | Web Awards | Contact | CureNow
SEARCH | Assembly ||
USA Patriotism! | Poetry Galore

Approved Web Hosting Companies

Gold Stars of Excellence by Award Sites!

Tidy Tutorial

Using Tidy Inline Or Locally

Step One: Download Options

The most comprehensive library of Tidy builds are found at SorceForge

About Tidy

Tidy comes in different flavors like for PHP, Java and so forth, but as you can see from the menu to the left with the arrow, we selected the HTML version for this demonstration which allows for a local install and when you are offline to use this tool for pages stored on your local computer.

Although as we will explain later, other versions of Tidy allow for online validation and browser inline use of Tidy.
 

View of Tidy After Local Installation
 

After your download of Tidy for use on your local computer, you can browse for  a web page you may wish to inspect for correctness.  Select a local HTML file, activate the tidy button and a list of errors and warnings is then displayed.  Show output will be the cleaned up code by Tidy, which may possibly not be all errors and warnings corrected.
 

Original and revised code
 

In our configuration settings for the local Tidy, we elected to omit the border for graphics since in our XHTML coding, similar elements are controlled by our a CSS.  This example is taken from this web page prior to publication or validation.  Notice that in the revised code the border of zero is omitted, since the default is zero anyway this would have resulted in code bloat.  Also a forward slash is placed before the close of the img src, which is required in XHTML.

Since most users will find that they make repetitive errors, by having a hard copy of the original and revised code, these documents can be compared and errors can be avoided in future coding efforts. Tidy has helped us learn good coding techniques.

Next Page: Online Options
Previous Page: Introduction

260707 copyright

About Contributor
Denny Lancaster is the Compliance Manager of Award Sites!  He is also the owner of the Lancasters Laughing Place site and the elite Award Sites! 5.0 rated Talking Hands Award Program . . . and has excellent knowledge of W3C and WAI issues.  Professionally, he is a retired senior partner, tax attorney specializing in international finance.  Moreover, Denny administers a private foundation which builds free enabled computers for deaf and blind persons throughout the state of Alabama . . . and is a talented poet.Denny Lancaster - Validation Advisor

"Approved" Web Hosting Companies