Ciao
sto cercando di validare la seguente pagina ma il validatore del w3c continua a darmi errori.
eliminando il CDATA la pagina viene validata correttamente
dove può essere il problema?
Questi sono gli errori restituiti dal validatorecodice:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/> <title>Home Zone - Help on line</title> <link rel="shortcut icon" href="/HomeZone/favicon.ico" /> <script type="text/javascript" src="/homezone/codicecomune/script/script.js"></script> <link rel="stylesheet" type="text/css" href="/HomeZone/homezone.css" media="screen" /> <script type="text/javascript"> //<![CDATA[ document.write('<link rel="stylesheet" type="text/css" href="/HomeZone/javascript.css" media="screen" />') //]] </script> </head> <body> <div id="header"> <h1>Home Zone - Help on line</h1> <div id="header2"> Home Zone - Help on line </div> </div> <hr /> <div id="percorso"> <div class="left" id="welcome"> Benvenuto xxxxxxxx</p></div> <div class="left" id="navigation"> Ti trovi in <span class="attivo">Help on line</span> <a class="siScript" href="/HomeZone/Codicecomune/help/help.asp#help" onclick="help('/HomeZone/Codicecomune/help/help.asp#help',400,300); return false" title="Visualizza l'help on line"> [img]/HomeZone/images/misc/icon_smile_question.gif[/img] </a> </p> <noscript> [img]/HomeZone/images/misc/icon_smile_question.gif[/img] </p> </noscript> </div> </div> <hr /> <div id="colonna-sx"> <div class="box"> <div id="menuv"> menu </div> </div> </div> <hr /> <div id="principale"> <div class="box"> <h3>principale</h3> </div> </div> <hr /> <div id="colonna-dx"> <div class="box"> <h3>colonna-dx</h3> </div> </div> <hr /> <div id="footer"> <div class="left"> xxxxxxxxx </div> <div id="divw3c" class="rigth"> XHTML 1.1 CSS </div> </div> </body> </html>
codice:Below are the results of checking this document for XML well-formedness and validity. 1. Error Line 170 column 7: end tag for "script" omitted, but OMITTAG NO was specified. </html> You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">". ✉ 2. Info Line 10 column 0: start tag was here. <script type="text/javascript"> 3. Error Line 170 column 7: end tag for "head" omitted, but OMITTAG NO was specified. </html> ✉ 4. Info Line 4 column 0: start tag was here. <head> 5. Error Line 170 column 7: "html" not finished but document ended. </html> ✉ 6. Error Line 170 column 7: end tag for "html" omitted, but OMITTAG NO was specified. </html> ✉ 7. Info Line 3 column 0: start tag was here. <html xmlns="http://www.w3.org/1999/xhtml"> 8. Error Line 170 column 7: missing marked section end. </html> ✉ 9. Info Line 11 column 2: marked section started here. //<![CDATA[
La pagina non è disponibile online
![]()


Rispondi quotando
? cosa intendi?
