Tidy 71

From Htmlpedia
Jump to: navigation, search

Tidy: ... ID "..." uses XML ID syntax

Cause:

An ID attribute does not conform with the HTML document type specification. ID tokens must begin with a letter, and may contain only letters, digits, hyphens, underscores, colons, and periods.

Example:

<li> ID "_note-0" uses XML ID syntax

Bad<li id="_note-0">Note number zero.</li>
Good<li id="note-0">Note number zero.</li>

Solution:

Choose another name for the ID.

References: