- Open CSS HTML Validator.
- Optional if you want automatic validation when you open a file: Go to the Editor Options (Ctrl+F3) then to the Files > File Options page and check the option to 'Validate documents when opened'.
- If you want to change the default validation mode, select it from Validate > Select Default Validation Mode. For example, if you only want to concentrate on errors, then choose Validate > Select Default Validation Mode > Errors only.
- Using File Explorer or similar program, open the folder that contains the files you want to validate. Select the files that you want to validate and then drag and drop the selected files onto CSS HTML Validator's main editor to open them.
- The files should automatically be validated if the option was set to do so, otherwise choose Validate > Validate All Open Documents (Alt+F6).
- Tip: Use the Open Documents Window (View > Windows > Open Documents) to view all the opened documents. You can sort by number of errors and warnings in this window (by clicking on the Results column).
- To automatically close all documents that have been validated and contain no errors and no warnings, choose File > Close Complete (Alt+W).
HOW TO: Open files in a folder, validate, then close files that don't need fixing
- Albert Wiersch
- Site Admin
- Posts: 3819
- Joined: Sat Dec 11, 2004 9:23 am
- Location: Near Dallas, TX
- Contact:
HOW TO: Open files in a folder, validate, then close files that don't need fixing
If you have a bunch of HTML or CSS files in a folder and you want to check them all and fix any problems that CSS HTML Validator finds, then here is one option.
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial