This editor is available from the Tag Names tab of the Configuration Editor. This editor allows you to add new tag names and reconfigure existing ones. In addition, you can specify where tags can and can't be used by specifying the valid and invalid range.
•Tag names - This list box contains a list of tag names, like "p", "a", "title", "body", "html", "b", "i", etc. See below for the buttons used to add and delete tag names to and from this list box.
•(everywhere) - Any tag name with this assigned to its valid range will be valid anywhere in the document, regardless of any other ranges assigned.
•(first tag) - Any tag name with this assigned to its valid range will be valid if it is the first tag name in the document, in addition to the other ranges assigned.
•Tag range - Contains a list of tag names that specify where in the HTML document the tag name being configured may or may not appear. The tag name being configured may validly or invalidly appear as a tag between the start tag of any tag listed in the Tag range list box and its end tag. Priority is first given to built-in tag names (such as (everywhere) and (first tag)) then given to the most recently opened tag in the HTML document when calculating if the range of a tag is valid. To remove a tag name from this list box, select the tag name to remove and click the delete button (<-) or double-click the tag name to remove it. To add a tag name, select the tag name from the Tag names list box and click the add button (->) or double-click the tag name to add it. Use the Range View radio buttons to select whether the valid or invalid range is being viewed and edited. Note that if the valid and invalid ranges conflict, then the range of the tag is unpredictable.
•Tag Name Being Configured - Use this combo box to select a tag name to configure. The tag selected here is the tag whose configuration is being displayed and edited.
•Tag Name Category - Use this combo box to select which tag category the tag name being configured belongs to.
•New Tag - Press this button to add a new tag name to the Tag names list box. The tag name that is added is the string contained in the edit box above the New Tag button. Note that the tag may not contain spaces.
•Delete Tag - Press this button to delete the tag name selected in the Tag names list box. Built-in tag names cannot be deleted. Also note that if you delete a tag name, then all other tag names that contain the deleted tag name in their range will no longer contain it.
•End Tag - Use these buttons (No end tag, Optional end tag, and Required end tag) to set the tag name being configured to require no end tag, have an optional end tag, or require an end tag.
•Range View - Use these three buttons to toggle the view in the Tag range list box. In order to change a range (add or delete a tag name from the Tag range list box), the correct view must be selected that corresponds to whether the valid range or invalid range is being viewed and edited.
•Ignore to end tag - Check this box if you want HTML Validator to ignore all text (comments, tags, and entities) between the tag being configured and its end tag. You should set this only when the tag being configured requires an end tag. Note that though ignored, the text is still read and parsed, therefore, mismatched quotation marks may prevent the end tag from being found, as well as if the end tag is in a comment. Note that ignored text is still checked for high ASCII characters, if high ASCII character checking is enabled. Typically, this option is only checked for elements like "script" and "style". This option is not enabled by default.
•Warn if tag has no attributes - Check this box if you want HTML Validator to generate a warning if the tag being configured is used without any attributes. You may want to check this box for tags that are usually used or should be used with attributes. This option is not enabled by default.
•Display message when used - Check this box if you want HTML Validator to display the message in the Message When Used edit box when the tag being configured is used in an HTML document. This allows specific messages to be displayed to the user depending on the tags in the HTML document being validated. Note that even if a tag name with a displayable message is used multiple times, the message will display only for the first time the tag name is used. This avoids unnecessary repeats of the same message. This option is not enabled by default.
Visit the Config Editor General Information topic for more information about the Message When Used edit box.