Contents

[edit]

OpenSP: ID ... already defined

[edit]

Cause:

An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).

[edit]

Example:

Good<span id="name1"> <span id="name1">
Good<span id="name1"> <span id="name2">
[edit]

Solution:

Use an unique ID or a class name.

[edit]

References:

Retrieved from "http://www.htmlpedia.org/wiki/Sp_141"