Sp 257

From Htmlpedia
Revision as of 00:44, 30 March 2007 by 81.243.153.92 (talk)
Jump to: navigation, search

OpenSP: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified

Cause:

An attribute value is not enclosed in quotes.

Example:

Bad<p class=foo>
Bad<img height=92 …>
Good<p class="foo">
Good<img height="92" …>

Solution:

  • Quote all attribute values.

References: