tutorials.de Buch-Aktion 05/2012
ERLEDIGT
JA
ANTWORTEN
4
ZUGRIFFE
323
EMPFEHLEN
  • An Twitter übertragen
  • An Facebook übertragen
DIESES THEMA IST
GESCHLOSSEN
  1. #1
    x12x13 Tutorials.de Gastzugang
    der html validation service vom w3c meckert hier:

    <script language="JavaScript" type="text/javascript">

    mit der meldung:

    Line 18, column 18: there is no attribute "language"

    Aber warum?

    ps.: ich habe die xhtml1.1strict dtd eingebunden..






    Darunter steht noch...
    You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

    This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

    How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute.
     

  2. #2
    x12x13 Tutorials.de Gastzugang
    Lösung:
    http://www.xhtmlforum.de/viewtopic5336nr5336.html

    Ich Assi sollte vllt. vorher mal googlen. SORRY
     

  3. #3
    Registriert seit
    Dec 2002
    Ort
    Trier
    Beiträge
    17.502
    Blog-Einträge
    10
    Das ist mal wieder eines der proprietären Pseudo-Attribute, das wahrscheinlich irgendwann von Microsoft eingeführt wurde, vom W3C jedoch wegen fehlender Standardisierung der möglichen Werte als missbilligt erklärt wurde. Lass es einfach weg.
     
    Markus Wulftange

  4. #4
    x12x13 Tutorials.de Gastzugang
    Wie gesagt funkt es jetzt. Ich habe noch das CDATA-Attribut ergänzt.
     

  5. #5
    Registriert seit
    Dec 2002
    Ort
    Trier
    Beiträge
    17.502
    Blog-Einträge
    10
    Welches CDATA-Attribut? Meinst du die Auszeichnung eines CDATA-Bereichs? Hoffentlich lieferst du das XHTML-Dokument korrekt aus.
     
    Markus Wulftange

Ähnliche Themen

  1. Kein Zugriff auf ManagedBean mit JSF aus einer XHTML
    Von Bexx im Forum Enterprise Java (JEE, J2EE, Spring & Co.)
    Antworten: 4
    Letzter Beitrag: 26.07.10, 14:31
  2. Valides autocomplete="off" - XHTML
    Von Gunah im Forum HTML & XHTML
    Antworten: 13
    Letzter Beitrag: 16.06.09, 15:18
  3. Listen und valides XHTML
    Von Harzteufel im Forum CSS
    Antworten: 4
    Letzter Beitrag: 25.06.08, 17:11
  4. Javascript und valides XHTML?
    Von dornfeder im Forum Javascript & Ajax
    Antworten: 2
    Letzter Beitrag: 07.09.07, 11:20
  5. <select> und valides XHTML
    Von Martys im Forum HTML & XHTML
    Antworten: 9
    Letzter Beitrag: 23.08.05, 10:10