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 different tag categories. 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. For instance, HTML Validator includes a configuration that allows you to validate an HTML document based on HTML 4.0, Microsoft Internet Explorer, Netscape Navigator tags, and more. You simply make active or inactive the categories you want or don't want, respectively.
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 the Netscape and Microsoft IE Extension categories from the Active Categories list box. This will disable tags like the Microsoft specific tag <MARQUEE> as well as other proprietary tags.
See the Notes tab for more information about choosing which categories to make active.
•Categories - Contains a list of categories that can currently 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 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.
•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, all tag names, attributes, and attribute values 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 nonbuilt-in tag names, attributes, attribute values, and entities that are assigned to an undefined category. It will also remove all nonbuilt-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.