Hi,
Hast Du tatsächlich recht. das steht beim W3 auch so.
Nein -
http://www.w3.org/TR/html4/types.html#type-cdata
Das Name-Attribut ist vom Typ CDATA und für CDATA gibt es die obige Festlegung...
Eben.
Wenn du mal in die HTML-DTD schaust - ziemlich weit oben,
<!ENTITY % LanguageCode "NAME"
-- a language code, as per [RFC1766]
-->
- da wird zum Beispiel für den LanguageCode gefordert, dass er vom Type NAME (Token) sein muss.
Für Formularfelder gibt's diese Forderung aber nicht.
Aber der W3-Validator beschwert sich trotzdem nicht :-)
Er hätte auch keinen Grund.
MfG ChrisB
--
Light travels faster than sound - that's why most people appear bright until you hear them speak.
Light travels faster than sound - that's why most people appear bright until you hear them speak.