About the Configuration File

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?

Editing and Customizing the Configuration File

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.

hmtoggle_plus1Important Editing Notes (if you edit the configuration file)

Notes

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.