Ankündigung

Einklappen
Keine Ankündigung bisher.

W3C standarts!!!

Einklappen

Neue Werbung 2019

Einklappen
X
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • W3C standarts!!!

    sorry leutz aber ich verstehe gerade ma wieder garnichts! was soll diese fehlermeldungvon den w3c?

    Code:
    # Line 15 column 209: there is no attribute "target".
    
    ...bert.de/KAV/phpBB2/index.php" target=_blank style="font-family:verdana; font-
    
    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.
    
    ✉
    # Error Line 15 column 209: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified.
    
    ...bert.de/KAV/phpBB2/index.php" target=_blank style="font-family:verdana; font-


    warum darf ich target=_blank oder auch target=_new da nicht verwenden? ich habe transitional als doctype und da ist auch kein fehler drin !

  • #2
    Steht doch da, target wird bei »Strict« nicht unterstützt, als Ersatz (also wer nicht darauf verzichten will) sollte dann »Transitional« benutzen.
    Solange bis in 10 Jahren das neue CSS da ist, dann gibt es dafür extra Optionen

    Kommentar


    • #3
      aber das benutze ich doch !
      hmm irgendwo muss da noch ein fehler sein!

      Kommentar


      • #4
        ups doch nicht ^^

        Kommentar


        • #5
          Achso, kommt immernoch Fehler ?
          Vieleicht dein doctype falsch ?

          Kommentar


          • #6
            ups doch nicht ^^
            Na wie jetzt ?

            Kommentar


            • #7
              so jetzt habe ich das nach transitional standart gemacht dann kommt folgende meldung:
              Code:
              Line 15 column 209: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified.
              
              ...bert.de/KAV/phpBB2/index.php" target=_blank style="font-family:verdana; font-
              und wieder zeigt der den fehler bei target=_blank bzw. target=_new

              Kommentar


              • #8
                Öhm, es heißt

                target="_blank"

                Hast Du das so...?

                Kommentar


                • #9
                  hmm ja jetzt schon! habs vergessen nach meinen rumprobieren das wieder richtig hinzuschreiben :wink:
                  aber jetzt ist meine site wenigstens w3c VALID

                  Kommentar

                  Lädt...
                  X