Sp 123

From Htmlpedia
Jump to: navigation, search

OpenSP: Value of attribute ... must be a single token

Cause:

This attribute can not take a space-separated list of words as a value, but only one word ("token"). This may also be caused by the use of a space for the value of an attribute which does not permit it.

Example:

Bad<a name = "two words">
Good<a name = "two_words">

Solution:

Use camelCase or underscores to join words.

References: