Categories Editor (Pro, Std, Lite)

Contents

This editor is available from the Categories tab of the Configuration Editor.

This is where you can add and delete tag categories. Each tag name, tag attribute, and tag attribute value may be assigned a tag category. The tag category is used so that you can check HTML documents that conform to different "standards" of HTML tags by selecting what categories you want active. You simply make active or inactive the categories you want or don't want, respectively.

NOTE: Typically you will not need to change the active categories as they are managed automatically based on the detected document type and on what validation mode is selected. For example, doing a 'Standards-compliant check' will automatically disable most or all proprietary categories for that validation.

NOTE: When selecting what HTML category or categories you wish to be active, you must remember that the HTML 2.0 category is used as a "foundation" for the others, including XHTML. That is, you should always have the HTML 2.0 category active regardless of any other categories you may or may not have active.If you want to create more standards compliant documents, remove proprietary categories like the Microsoft IE Extension categories from the Active categories list box. This will disable proprietary elements and attributes like the Microsoft specific "marquee" element.

List Boxes

•Categories - Contains a list of categories that can be assigned to tag names, attributes, attribute values, and character references. The built-in categories are in parenthesis and cannot be deleted. See below for the buttons used to add and delete categories to and from this list box.

•Active categories - Contains a list of categories that are assigned to tag names, attributes, attribute values, and character entities that are considered active (valid) when HTML Validator validates a document. Tag names, attributes, attribute values, and character entities not assigned to categories in this list box are not considered active (or valid) when a document is validated. To remove a category from the Active categories list box, select the category to remove and click the delete button (<-) or double-click the category to remove it. To add a category to the list box, select a category to add from the Categories list box and click the add button (->) or double-click the category to add it.

Push Buttons

•New Category - Press this button to add a new category to the Category list box. The category that is added is the string contained in the edit box above the New Category button.

•Delete Category - Press this button to delete the category selected in the Categories list box. Built-in categories cannot be deleted. Also note that if you delete a category then all tag names, attributes, attribute values, etc. that are assigned to that category are reassigned to the built-in category (undefined).

•-> - Press this button to add the selected category in the Categories list box to the Active categories list box. Note that you may also double-click a category in the Categories list box to add it.

•<- - Press this button to remove the selected category from the Active categories list box. Note that you may also double-click a category in the Active categories list box to remove it.

•Clean Configuration - Press this button to remove all non-built-in tag names, attributes, attribute values, and entities that are assigned to an undefined category. It will also remove all non-built-in attributes and attribute values that are not assigned to any tag name or attribute. This function is useful when you wish to permanently remove a category from the configuration and then minimize the configuration's size and maximize its performance by eliminating unnecessary entries.For example, to remove the categories that you will never use, first delete the categories that you don't want. This will cause all entries assigned to the deleted category to have a category of (undefined). You can then press the Clean Configuration button to permanently remove the entries that now have an (undefined) category. If you later decide that you want the categories back, then you will have to revert to a previous configuration that contains them. You can always revert back to the original configuration that comes with CSE HTML Validator.