Posted by Spartanicus on 11/07/05 10:16
Patient Guy <Patient.Guy@nowhere.to.be.found.com> wrote:
>While the values of 'id' and 'name' attributes include restrictions on the
>use of characters such as beginning with a letter, the values of the
>'class' attribute define no restriction as I can find.
>
>Thus the use of:
>
> class="thumbedImage 0.4"
>
>is permitted,
The above assigns two classes to the element, "thumbedImage" and "0.4",
the latter is not permitted since class names are not allowed to start
with a digit: http://www.w3.org/TR/CSS21/syndata.html#q6
--
Spartanicus
[Back to original message]
|