Attribute Values Editor (tick_24Pro, cross_24Std)

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 negative) - The value is invalid if the first non-space character is a minus sign ('-'). (New v18.03)

(NOT whitespace) - The value is 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

(<number-optional-number>) - A valid number optionally followed by another number (separated by one or more spaces and/or a comma). (New v18.03)

(16 color names) - One of 16 color names: aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, purple, red, silver, teal, white, and yellow.

(alphanum string) - 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) - 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) - 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) - 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())) - A valid color in the form rgb(0-255,0-255,0-255) or rgb(0-100%,0-100%,0-100%). (New v16.0306)

(CSS-<angle>) - A valid CSS <angle> value. (New v18.03)

(CSS-<clip-path>) - A valid CSS <clip-path> value. (New v18.03)

(CSS-<color>) - A valid CSS <color> value. (New v18.03)

(CSS-<cursor>) - A valid CSS <cursor> value. (New v18.03)

(CSS-<filter>) - A valid CSS value for the "filter" CSS property. (New v18.03)

(CSS-<font-variant>) - A valid CSS value for the "font-variant" CSS property. (New v18.03)

(CSS-<length>) - A valid CSS <length> value. (New v18.03)

(CSS-<percentage>) - A valid CSS <percentage> value. (New v18.03)

(CSS-<transform>) - A valid CSS value for the "transform" CSS property. NOTE: Not SVG compatible due to syntax differences. (New v18.03)

(float-html5) - A valid floating point number based on HTML5 parsing rules. (New v9.9913)

(float-non-neg-html5) - A valid non-negative (0 or greater) floating point number based on HTML5 parsing rules. (New v9.9913)

(float-pos-html5) - A valid positive (greater than 0) floating point number based on HTML5 parsing rules. (New v9.9913)

(ID ref-single) - Value should be a valid ID reference to an element. (New v10.9926)

(ID ref-multi) - A valid list of space-separated ID references to elements. (New v10.9926)

(ignore value) - 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) - One of these integer offsets: -6, -5, -4, -3, -2, -1, -0, +0, +1, +2, +3, +4, +5, or +6.

(integer offset) - 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) - One of these integers: 1, 2, 3, 4, 5, 6, or 7.

(JavaScript code) - JavaScript code (good for attribute event handlers like "onclick", "onsubmit", etc). Consider calling runProgram(26) in the attribute program for any attribute that has this value. (New v10.9925)

(JSON) - A valid JSON string. (New v16.9903)

(list of <number>s) - A space and/or comma separated list of numbers. (New v18.03)

(MathML-color) - 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) - A MathML length value. (New 2012-08-30)

(media query list) - A media query list based on the CSS3 specification for media queries. (New v9.9919)

(MIME type) - A media/MIME type (currently just checks the syntax; does not check against a list of discrete types). (New v14.00)

(neg integer) - A negative integer such as -1, -4, -89, etc. (0 is not considered a negative integer).

(Netscape color names) - 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) - 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) - A positive integer, but not a negative integer. Examples are 56, 23, and 782. 0 is not considered a positive integer.

(relative width) - A value in the form i*, where i is a positive integer. A single "*" is also validated.

(script code) - Script code (this is like (JavaScript code) but is more generic) (New v12.0026)

(single alphanum char) - A single alphanumeric character.

(single character) - A single character. The character does not have to be alphanumeric.

(six digit hex) - 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) - 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).

(SVG2-<paint-order>) - A valid value for the "paint-order" SVG 2 property. (New v18.03)

(UI color names) - A CSS2 system color name. (New 2002-08-21)

(URI/URL) - 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) - A non-empty URI/URL. (New v14.0107)

(zero) - 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.