The configuration file (htmlvalV190.cfg) contains the elements, attributes, attribute values, TNPL (tag name) programs, and more that CSS HTML Validator uses to validate a document. This includes many, but not all, of the validator messages that it is capable of generating. Many of the tag name programs use "flags" that let you easily customize the validations. What do the flags do?
CSS HTML Validator should work sufficiently with its default configuration without altering the default active categories and without other changes. However, if you want to "fine-tune" the configuration then you can if you have the professional or enterprise edition.
The configuration file can be edited using the Configuration Editor in the professional and enterprise editions (the Configuration Editor may appear confusing at first, because of its many options). If you do decide that you want to customize the configuration then the following information in this topic and in other documentation topics will help you decide what categories you want active and what other customizations you may wish to make.
•Save your changes: If you make any changes to the configuration file, then it is highly recommended that you save your modified configuration file using a filename other than the default. The default file is overwritten during installs and updates. If you do not use a different filename to save your changes, then your changes may be lost at the next install or update.
•If you edit the configuration file, then you will be "stuck" using your custom config file even when updated config files come out, or you will have to re-apply your customizations to new updates to the configuration file. Because of this, we recommend using the "user functions" file whenever possible.
•New "user functions" files: In v11 and above, you can specify a "user functions" file or two (in the professional and enterprise editions) to customize validations by containing event functions. This is now the recommended way to customize a validation because the same user functions file can be used with newer versions of CSS HTML Validator and with updated configuration files because the customizations are not lost. However, in some cases it is still necessary to edit the configuration file, depending on the customizations you wish to make.
•Message ID Feature: If you only want to disable a single message instead of all the messages for a particular flag, then you can do this by choosing to enable or disable a message on an individual basis. This works for most messages but not all. To do this, bring up the context menu for the message in the integrated editor (usually by right-clicking on the message) and choose the desired option from the Message Options sub-menu. This feature may be referred to as the message ID feature because it only works for messages that have message IDs. More information about disabling messages.
•If you want to disable all tag name program functionality (not recommended), then you can uncheck the Enable programs validator engine option. This will cause any messages (such as the below messages listed under the flags) generated by a tag name program to not be displayed. It will also speed up the validation engine. However, disabling the tag name programs may significantly reduce the effectiveness of the validation and could even result, in some cases, in incorrect results. NOTE: The tag name program feature is considered to be a powerful feature of CSS HTML Validator Standard and above, and therefore should not be disabled.
•If you want to disable a tag name program for a specific element or attribute, then you can use the Programs tab in the Configuration Editor (professional and enterprise editions) to select the tag name with the program you wish to disable and then uncheck the Enable open program for tag or Enable close program for tag option. NOTE: This is not recommended.