Optimizing and Checking Work - Checking Pages with HTML Tidy

> Tidy Menu - Format and Fix

HTML Tidy is the code cleaning tool of choice for countless HTML developers. This small program (integrated with ScriptWorx) can apply source formatting, fix poorly coded pages or convert a page to the latest standards.

The HTML Tidy interface has several options, which are covered in this help section.

- Character Encoding

Determines how Tidy interprets character streams. For ascii, Tidy will accept Latin-1 character values, but will use entities for all characters whose value > 127. For raw, Tidy will output values above 127 without translating them into entities. For latin1 characters above 255 will be written as entities. For utf8, Tidy assumes that both input and output is encoded as UTF-8. You can use iso2022 for files encoded using the ISO2022 family of encodings e.g. ISO 2022-JP. The default is ascii.

- Wrap

Sets the position at which lines of code will be wrapped (in columns).

- Indent

This is used in source formatting to specify the number of columns to indent code.

- Default "Alt" Tag

Specifies the "alt" text that should be applied to any image without an "alt" attribute.

- Doc Type

DocType Use the "Doctype" option to tell HTML Tidy whether to use the strict, loose (transitional) or automatic HTML DTD. We recommend automatic for most purpose.