|
[ Contents ]
Categories Editor
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 simply 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.
List Boxes
- Categories - Contains a list of categories that can currently be assigned to tag names, attributes, attribute values, and character entities. The built-in categories are enclosed in parenthesis and cannot be deleted. See below for the buttons used to add and delete tag names to and from this list box.
There are currently several categories for the included configuration file. When selecting what HTML category or categories you wish to be valid, you must remember that the HTML 2.0 category is used as a "foundation" for the others. That is, you should always have HTML 2.0 active regardless of any other categories you may or may not have active.
If you wish to use frames, add the category Frames.
If you wish to use tables, add the category Tables. It is mainly included to take advantage of tables which are currently available in many browsers. You should also be aware of the fact that just because the table tags and attributes you are using are in this category, it does not mean they will all work in a table capable browser.
For creating documents in Netscape Navigator or Microsoft Internet Explorer, choose the respective extensions category and make it active along with at least HTML 2.0, and any other categories you wish. For instance, you may want to have all categories active except for Microsoft IE Extensions when developing documents for Netscape Navigator. This will disable Microsoft specific tag names like <MARQUEE>. See the Configuration Notes Tab for more information.
- 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.
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, 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 instead of pressing this button.
- <- - Press this button to delete the selected category in the Active Categories List Box. Note that you may also double click a category in the Active Categories List Box instead of pressing this button.
- 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 this button to permanently remove the entries that now have an "(undefined)" category. If you later decide that you want the categories back, you will have to revert to a new configuration that contains them. You can always revert back to the original configuration that comes with CSE HTML Validator.
[ Contents ]
|
|
Copyright © 1997-2002 AI Internet Solutions.
Tue, Oct 08 2002
|
|