[HTML] W3C Fehler was is da Falsch?

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

  • [HTML] W3C Fehler was is da Falsch?

    end tag for "HEAD" which is not finished.
    </head>
    Most likely, You nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>

    Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, <head> generally requires a <title>, lists (ul, ol, dl) require list items (li, or dt, dd), and so on.
    HIER DER CODE:

    PHP-Code:
      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
           "http://www.w3.org/TR/html4/loose.dtd"
    >
        <
    html>
        <
    head>
        <
    script language="JavaScript" src="draganddrop.js" type="text/javascript"></script>
        <
    script language="JavaScript" type="text/javascript">
        
    wmtt null;
        
        function 
    showWMTT(id) {
            
    wmtt document.getElementById(id);
            
    wmtt.style.display "inline";
        }
        
        function 
    hideWMTT() {
            
    wmtt.style.display "none";
        }

        function 
    ShowWindow(item){
            
    document.getElementById(item).style.display 'inline';
        }

        function 
    HideWindow(item){
                
    document.getElementById(item).style.display 'none';
        }

        function 
    showSearchDiv(a){
          var 
    e=document.getElementById(a);
          if(!
    e)return true;
          if(
    e.style.display=="none"){
            
    e.style.display="block"
          
    } else {
            
    e.style.display="none"
          
    }
          return 
    true;
        }    
        </
    script>
            <
    link rel="StyleSheet" href="style.css" type="text/css">
        </
    head
    Was mach ich da schon wieder falsch?

    MFG
    MIKE

  • #2
    link ist noch offen.
    und js sollte man in html-kommentare einschließen.

    Kommentar


    • #3
      Original geschrieben von penizillin
      link ist noch offen.
      Link muss in HTML 4.01 nicht geschlossen werden.

      Aber es fehlt noch etwas - und was, das steht in der Meldung sogar explizit drin.
      I don't believe in rebirth. Actually, I never did in my whole lives.

      Kommentar


      • #4
        oh, stimmt, required child...

        Kommentar


        • #5
          <Titel> !!!

          DANKE
          MFG
          MIKE

          Kommentar

          Lädt...
          X