Difference between revisions of "Sp 111"
From Htmlpedia
(Added examples and a solution.) |
|||
Line 6: | Line 6: | ||
=== Example: === | === Example: === | ||
− | <bad> | + | <bad><div class"post"></bad> |
− | <good> | + | <good><div class="post"></good> |
=== Solution: === | === Solution: === | ||
− | + | Make sure your attribute/value pairs are separated by an equals sign. | |
=== References: === | === References: === | ||
* W3 validator: http://validator.w3.org/ | * W3 validator: http://validator.w3.org/ |
Latest revision as of 17:16, 3 March 2008
Contents
OpenSP: An attribute value literal can occur in an attribute specification list only after a VI delimiter
Cause:
Have you forgotten the "equal" sign marking the separation
between the attribute and its declared value?
Typical syntax is attribute="value"
.
Example:
![]() | <div class"post"> |
![]() | <div class="post"> |
Solution:
Make sure your attribute/value pairs are separated by an equals sign.
References:
- W3 validator: http://validator.w3.org/