Categories


Popular topics

HTML Tidy is a third party utility that checks and reformats HTML code. HTML Tidy was developed by Dave Raggett and has been integrated into UltraEdit. More information on HTML Tidy can be found at the HTML Tidy official site or the HTML Tidy Github repo.

You can invoke HTML Tidy via the HTML Tidy button in the "Coding" tab. This will open the HTML Tidy dialog:

To set a new HTML Tidy config file, enter the path to the file in the Configuration File field or press the Browse button to browse to the file you wish to use. This file must actually exist - specifying a config file that doesn't exist will result in an error when the parse is executed. Press Enter on the keyboard to save the specified path.

To change HTML Tidy options and settings, click the Options button which will open up the "HTML Tidy Options" dialog:

You can hover your mouse cursor over each option to display a tooltip with a short description of the option under cursor. For full documentation on the configuration options available for HTML Tidy please see the official HTML Tidy documentation.

Click the Parse button to invoke HTML Tidy on the active file, which is saved first before HTML Tidy executes.

Any errors or warnings found by HTML Tidy will be shown in the output window. Double clicking on line with the error or warning in the output window will position the caret to the corresponding line in the file containing the error or warning.

If Generate "tidy" document is checked in the "HTML Tidy" dialog, HTML Tidy will generate a reformated, tidied version of the active file, and UltraEdit will display this in a new file tab titled ** HTML Tidy Output **. A new ** HTML Tidy Output ** file is created each time HTML Tidy is run.

If both Generate "tidy" document in the "HTML Tidy" dialog and Write-back in the "HTML Tidy Options" dialog are checked, the tidied output is written back to the original file, but the changes aren't saved until the modified file is saved. If neither option is selected, no output will be created from the HTML Tidy process.

MediaWiki spam blocked by CleanTalk.