Attribute Values Editor
(tick_24Pro, cross_24Std, cross_24Lite)

This editor is available from the Attribute Values tab of the Configuration Editor.

This is where you can add, edit, and delete attribute values. An attribute value is the value that appears following an attribute and an equals sign. For instance, in "align=left", "align" is the attribute and "left" is the attribute value.

For example, to add an attribute value to an attribute:

1.Select the attribute that you want to add an attribute value to in the Attribute Being Configured combo box. A list of currently assigned attribute values of the attribute now appears in the Attribute's attribute values list box.

2.From the Attribute values list box, double-click the attribute value that you want to add to the attribute. The value should now appear in the Attribute's attribute values list box.

3.If the attribute value does not exist, then you can add it by typing it in the edit box and then pressing the New Value button. Assign a category to the new value using the Attribute value category combo box.

List Boxes

Attribute values - Contains a list of all available tag attribute values, including several built-in attribute values. See below for the buttons used to add and delete attribute values to and from this list box.

Attribute's attribute values - Contains a list of attribute values that are assigned to the currently selected attribute. These are the attribute values that are considered valid values for the selected attribute when a document is validated. To remove an attribute value from the Attribute's attribute values list box, select the attribute value to remove and click the delete button (<-) or double-click the attribute value to remove. To add an attribute value to the Attribute's attribute values list box, select an attribute value from the Attribute values list box and click the add button (->) or double-click the attribute value to add.

Built-in Values (NOT's)

The built-in values beginning with "NOT" take priority over all other values. If a value matches a "NOT" value, then it is considered invalid even if it also matches another value.

(NOT whitespace) - Any attribute with the value assigned to it will be invalid if it contains only whitespace. That is, the value is considered invalid if it contains 1 or more whitespace characters (and no non-whitespace characters). (New v11.01)

Built-in Values

(16 color names) - Any attribute with this value assigned to it may equal one of 16 color names: aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, purple, red, silver, teal, white, and yellow.

(alphanum string) - Any attribute with this value assigned to it may equal a string made up of allowable characters for unquoted attribute values. The HTML 4.01 specification allows A-Z, a-z, 0-9, - (hyphen), . (period), _ (underscore), and : (colon) for unquoted attribute values. The HTML5 specification allows characters other than literal spaces, quotes (" or '), equals signs (=), less-than signs (<), greater-than signs (>), or grave accents (`). By default, HTML5 specification is used unless the document can be determined to be another type, such as HTML 4.01.

(boolean-html5) - Any attribute with this value assigned to it may be a boolean value based on HTML5. This means that when the attribute is present, it represents the true value and when the attribute is absent, it represents the false value. Attributes may also have values equal to the empty string or equal (case-insensitively) to the attribute's name, with no leading or trailing whitespace. (New v9.9913)

(CF six digit hex) - Any attribute with this value assigned to it may equal a number in the form ##xxxxxx where each x is 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b, c, d, e, or f (case-insensitive). This is for legacy Cold Fusion support.

(Cold Fusion variable) - Any attribute with this value assigned to it may equal a string in the form #x# where x is an alphanumeric string that begins with an alphabetic character and may also contain periods and underscores. This is for legacy Cold Fusion support.

(color-rgb())) - Any attribute with this value assigned to it may equal a valid color in the form rgb(0-255,0-255,0-255) or rgb(0-100%,0-100%,0-100%). (New v16.0306)

(float-html5) - Any attribute with this value assigned to it may equal a valid floating point number based on HTML5 parsing rules. (New v9.9913)

(float-non-neg-html5) - Any attribute with this value assigned to it may equal a valid non-negative (0 or greater) floating point number based on HTML5 parsing rules. (New v9.9913)

(float-pos-html5) - Any attribute with this value assigned to it may equal a valid positive (greater than 0) floating point number based on HTML5 parsing rules. (New v9.9913)

(ID ref-single) - Any attribute with this value assigned to it should be a valid ID reference to an element. (New v10.9926)

(ID ref-multi) - Any attribute with this value assigned to it should be a valid list of space-separated ID references to elements. (New v10.9926)

(ignore value) - Any attribute with this value assigned to it may equal any value, including a zero length string of characters (but it must be quoted if zero length). The value ends at a space character or is a string enclosed in double-quotes.

(int-html5) - An integer (negative, 0, or positive) based on HTML5 parsing rules (New v10.9923)

(int-non-neg-html5) - A non-negative (0 or greater) integer based on HTML5 parsing rules (New v10.9921)

(int-pos-html5) - A non-negative (1 or greater) integer based on HTML5 parsing rules (New v10.9926)

(int offset -6 to +6) - Any attribute with this value assigned to it may equal -6, -5, -4, -3, -2, -1, -0, +0, +1, +2, +3, +4, +5, or +6.

(integer offset) - Any attribute with this value assigned to it may equal an integer offset such as +1, -9, +2, etc., where the sign of the number is mandatory and where +0 and -0 are not valid values.

(integers 1 to 7) - Any attribute with this value assigned to it may equal 1, 2, 3, 4, 5, 6, or 7.

(JavaScript code) - Any attribute with this value assigned to it should be JavaScript code (good for attribute event handlers like "onclick", "onsubmit", etc). (New v10.9925)

(MathML-color) - Any attribute with this value assigned to it may be one of the 16 basic color names or a 3 or 6 digit hexadecimal color (like #RRGGBB or #RGB). (New 2012-08-30)

(MathML-length) - Any attribute with this value assigned to it may be a MathML length value. (New 2012-08-30)

(media query list) - Any attribute with this value assigned to it may be a media query list based on the CSS3 specification for media queries. (New v9.9919)

(MIME type) - Any attribute with this value assigned to it may a media/MIME type (currently just checks the syntax; does not check against a list of discrete types). (New v14.00)

(neg integer) - Any attribute with this value assigned to it may equal a negative integer such as -1, -4, -89, etc. (0 is not considered a negative integer).

(Netscape color names) - Any attribute with this value assigned to it may equal one of the 140 color names originally supported by Netscape but now referred to as X11 color names and supported by most modern browsers.

(no value) - Any attribute with this value assigned to it is considered valid if it has no value. That is, there is no "=VALUE" attached to the attribute.

(null string) - Any attribute with this value assigned to it is considered valid if it is equal to a NULL or empty string. That is, an equals sign followed by two double quote marks with nothing between them (like attname="").

(percent) - Any attribute with this value assigned to it may equal a percent such as 50%, 0%, 23%, 200%, etc., greater or equal to 0%. If a decimal percent value is used (like 12.5%) then a warning message is generated that recommends against using percent values with decimals.

(pos integer) - Any attribute with this value assigned to it may equal a positive integer, but not a negative integer. Examples are 56, 23, and 782. 0 is not considered a positive integer.

(relative width) - Any attribute with this value assigned to it may equal a value in the form i*, where i is a positive integer. A single "*" is also validated.

(script code) - Any attribute with this value assigned to it should be script code (this is like (JavaScript code) but is more generic) (New v12.0026)

(single alphanum char) - Any attribute with this value assigned to it may equal a single alphanumeric character.

(single character) - Any attribute with this value assigned to it may equal a single character. The character does not have to be alphanumeric.

(six digit hex) - Any attribute with this value assigned to it may equal a number in the form #xxxxxx where each x is 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b, c, d, e, or f (case-insensitive).

(string) - Any attribute with this value assigned to it may equal a non-zero length string of characters. If the string is not enclosed in double-quotes, the string ends at a space character, otherwise the string is all the characters between two double-quotes. Note that assigning this value accepts a very large number values, especially if the string does not have to be double quoted.

(string 2) - Same as (string). With two strings, you can require that one require double quotes and another have optional quotes.

(string 3), (string 4) - Again, similar to (string), but you can assign different quotation requirements to each (string x).

(UI color names) - Any attribute with this value assigned to it may be a CSS2 system color name. (New 2002-08-21)

(URI/URL) - Any attribute with this value assigned to it may be a URI/URL. In v14.0107+, if an attribute is set to only have this value and it's an empty string or string containing only whitespace, then typically only a warning (instead of an error) will be generated because technically an empty string is a valid URL in HTML5 (New v9.00)

(URI/URL-non-empty) - Any attribute with this value assigned to it may be a non-empty URI/URL. (New v14.0107)

(zero) - Any attribute with this value assigned to it may equal the integer value 0. 00, 000, 0000, etc., are also valid values.

Combo Boxes

Attribute value category - Use this combo box to select which tag category the selected attribute value belongs to.

Push Buttons

New Value - Press this button to add a new attribute value to the Attribute values list box. The attribute value that is added is the string contained in the edit box above the New Value button.

Delete Value - Press this button to delete the attribute value selected in the Attribute values list box. Built-in attribute values cannot be deleted. Note that if you delete an attribute value, all attributes that have the deleted attribute value assigned to it will no longer have the deleted attribute value assigned to it.

-> - Press this button to add the selected attribute value in the Attribute values list box to the Attribute's attribute values list box. Note that you may also double-click an attribute value in the Attribute values list box to add it.

<- - Press this button to remove the selected attribute value from the Attribute's attribute values list box. Note that you may also double-click an attribute value in the Attribute's attribute values list box to remove it.

Radio Buttons

Allowable Quotation Buttons - These buttons affect the currently selected attribute value in the Attribute values list box. If the selected attribute value requires that it be enclosed in double quotation marks (i.e. ATTRIBUTE="ATTRIBUTEVALUE"), select Must be double quoted. Otherwise, select Cannot be quoted or May be double quoted, or another option, depending on the attribute value. You can also select options for single quoted attribute values.

Check Boxes

Case sensitive - Check this box if the currently selected attribute value in the Attribute values list box is case-sensitive. If this box is checked, then each character's case of the selected attribute value must match each character's case of the attribute value in the HTML document in order for it to be valid. This option is not enabled by default.