[Lugge] aiuto con codice html

  • From: Daniele Florio <sirflorio@xxxxxxxxx>
  • To: ML LugGe <lugge@xxxxxxxxxxxxx>
  • Date: 19 Nov 2002 11:07:27 +0100

Ciao a tutti,
ho da poco messo on-line il mio primo sito, fa schifo e non c'é niente
ma volevo provare! In futuro comunque diventerà migliore spero....
Comunque il problema é che cercando di validarlo sul sito w3c mi ha
trovato un sacco di errori che non riesco a correggere!!
Siccome non ci capisco più un c##@o vi allego l'intero codice html e il
report del w3c, se voi ci capite aiutatemi !!!!!
Grazie!

(Oltretutto tutto il codice che viene dopo il tag </html> lo ha inserito
lycos automaticamente e la maggior parte degli errori trovati sono li'
!!! )



Below are the results of attempting to parse this document with an SGML parser.

Line 99, column 4: 
  </td>
      ^

Error: end tag for "DIV" omitted; possible causes include a missing end tag, 
improper nesting of elements, or use of an element where it is not allowed

Line 90, column 0: 
  <div lang="it" align="justify">
  ^

Error: start tag was here 

Line 102, column 5: 
  </div>
       ^

Error: end tag for element "DIV" which is not open; try removing the end tag or 
check for improper nesting of elements 

Line 104, column 62: 
  <table cellpadding="0" cellspacing="0" border="0" width="100%"> 
                                                                ^

Error: element "TABLE" not allowed here; possible cause is an inline element 
containing a block-level element 

Line 116, column 29: 
  alt="google" align="absmiddle"></a>  
                               ^

Error: value of attribute "ALIGN" cannot be "ABSMIDDLE"; must be one of "TOP", 
"MIDDLE", "BOTTOM", "LEFT", "RIGHT" 

Line 129, column 50: 
  ... od.lycos.it/cgi/counter/counter.php?userlogin=fwr&cntr=1"></center><br ...
                                                        ^

Error: unknown entity "cntr" 

Line 129, column 50: 
  ... s.it/cgi/counter/counter.php?userlogin=fwr&cntr=1"></center><br>
                                                        ^

Error: required attribute "ALT" not specified 

Line 152, column 4: 
  </tr>
      ^

Error: end tag for "TABLE" omitted; possible causes include a missing end tag, 
improper nesting of elements, or use of an element where it is not allowed

Line 107, column 0: 
  <table cellpadding="0" cellspacing="0" border="0" width="100%">
  ^

Error: start tag was here 

Line 154, column 4: 
  </td> 
      ^

Error: end tag for element "TD" which is not open; try removing the end tag or 
check for improper nesting of elements 

Line 157, column 4: 
  </td>
      ^

Error: end tag for element "TD" which is not open; try removing the end tag or 
check for improper nesting of elements 

Line 159, column 4: 
  </tr>
      ^

Error: end tag for element "TR" which is not open; try removing the end tag or 
check for improper nesting of elements 

Line 162, column 7: 
  </table>
         ^

Error: end tag for element "TABLE" which is not open; try removing the end tag 
or check for improper nesting of elements 

Line 168, column 5: 
  </xmp></noscript>
       ^

Error: end tag for element "XMP" which is not open; try removing the end tag or 
check for improper nesting of elements 

Line 168, column 16: 
  </xmp></noscript>
                  ^

Error: end tag for element "NOSCRIPT" which is not open; try removing the end 
tag or check for improper nesting of elements 

Line 172, column 29: 
  <script language="JavaScript"><!--
                               ^

Error: required attribute "TYPE" not specified 

Line 172, column 29: 
  <script language="JavaScript"><!--
                               ^

Error: element "SCRIPT" not allowed here; check which elements this element may 
be contained within 

Line 178, column 32: 
  <script language="JavaScript1.1"><!--
                                  ^

Error: required attribute "TYPE" not specified 

Line 178, column 32: 
  <script language="JavaScript1.1"><!--
                                  ^

Error: element "SCRIPT" not allowed here; check which elements this element may 
be contained within 

Line 181, column 50: 
  ... 1.1" src="http://server-it.imrworldwide.com/a1.js";>
                                                        ^

Error: required attribute "TYPE" not specified 

Line 181, column 50: 
  ... 1.1" src="http://server-it.imrworldwide.com/a1.js";>
                                                        ^

Error: element "SCRIPT" not allowed here; check which elements this element may 
be contained within 

Line 183, column 29: 
  <script language="JavaScript"><!--
                               ^

Error: required attribute "TYPE" not specified 

Line 183, column 29: 
  <script language="JavaScript"><!--
                               ^

Error: element "SCRIPT" not allowed here; check which elements this element may 
be contained within 

Line 191, column 32: 
   '"><textflow>'+imgN+'</textflow></applet>');
                                  ^

Error: end tag for element "TEXTFLOW" which is not open; try removing the end 
tag or check for improper nesting of elements 

Line 191, column 41: 
   '"><textflow>'+imgN+'</textflow></applet>');
                                           ^

Error: end tag for element "APPLET" which is not open; try removing the end tag 
or check for improper nesting of elements 

Line 197, column 9: 
  <noscript>
           ^

Error: element "NOSCRIPT" not allowed here; check which elements this element 
may be contained within 

Line 199, column 16: 
  width=1 height=1>
                  ^

Error: required attribute "ALT" not specified 

Line 201, column 9: 
  </COMMENT>
           ^

Error: end tag for element "COMMENT" which is not open; try removing the end 
tag or check for improper nesting of elements 

Line 204, column 10: 
  </noscript><script type="text/javascript" src="http://ads.tripod.lycos ...
            ^

Error: end tag for element "NOSCRIPT" which is not open; try removing the end 
tag or check for improper nesting of elements 

Line 204, column 50: 
  ... c="http://ads.tripod.lycos.it/ad/ad.php?cat=noref&mkw=&CC=it&ord=3dd7f ...
                                                        ^

Error: unknown entity "mkw" 

Line 204, column 50: 
  ... tp://ads.tripod.lycos.it/ad/ad.php?cat=noref&mkw=&CC=it&ord=3dd7f1df&a ...
                                                        ^

Error: unknown entity "CC" 

Line 204, column 50: 
  ... ds.tripod.lycos.it/ad/ad.php?cat=noref&mkw=&CC=it&ord=3dd7f1df&adpref= ...
                                                        ^

Error: unknown entity "ord" 

Line 204, column 50: 
  ... os.it/ad/ad.php?cat=noref&mkw=&CC=it&ord=3dd7f1df&adpref="></script>
                                                        ^

Error: unknown entity "adpref" 

Line 204, column 50: 
  ... /ad.php?cat=noref&mkw=&CC=it&ord=3dd7f1df&adpref="></script>
                                                        ^

Error: element "SCRIPT" not allowed here; check which elements this element may 
be contained within




Source Listing


Below is the source input I used for this validation:

   1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
   2: 
   3: 
   4: <html lang="it" dir="ltr">
   5: 
   6: <head>
   7: 
   8: <!-- Site contents-->
   9: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  10: <meta name="Reply-to" content="sirflorio@xxxxxxxxx">
  11: <!-- Robots -->
  12: <meta name="robots" content="all">
  13: <meta name="revisit-after" content="10 days">
  14: <!-- Motori di ricerca -->
  15: <meta name="Description" content="FWR, Computers, Linux & Pensieri 
sovversivi ! ">
  16: <meta name="Keywords" 
content="linux,anarchia,computer,guida,windows,sistema 
operativo,saggezza,follow,white,rabbit,follow the white rabbit,aforismi">
  17: <title>FWR - Follow the white rabbit</title>
  18: 
  19: <link href="default.css" rel="stylesheet" type="text/css">
  20: 
  21: </head>
  22: 
  23: 
  24: 
  25: <body>
  26: 
  27: 
  28: <!-- Tabella del body -->
  29: <table cellpadding="3" cellspacing="0" border="0" width="96%">
  30: 
  31: <tr>
  32: <!-- Blocco del titolo -->
  33: <td width="25%" colspan="3" valign="middle">
  34: 
  35: <table cellpadding="2" cellspacing="0" border="0" width="100%">
  36: 
  37: <tr>
  38: <td align="left" valign="middle">
  39: 
  40: 
  41: <img src="immagini/titolo.png" width="576" height="50" alt="FWR - Follow 
the white rabbit">
  42: 
  43: </td>
  44: </tr>
  45: </table>
  46: 
  47: 
  48: 
  49: <!-- Fine blocco titolo -->
  50: </td>
  51: 
  52: </tr>
  53: <tr>
  54: <td width="15%" rowspan="2" valign="top">
  55: 
  56: <!-- Blocco indice -->
  57: 
  58: <table cellpadding="0" cellspacing="0" border="0" bgcolor="#000000" 
width="100%">
  59: <tr>
  60: <td>
  61: <table cellpadding="2" cellspacing="1" border="0" width="100%">
  62: <tr>
  63: <td bgcolor="#9999CC">
  64: <h3>Dove vuoi andare?</h3> 
  65: </td>
  66: </tr>
  67: <tr>
  68: <td bgcolor="#FFFFFF">
  69: <br>
  70: Segui il coniglio bianco...<br><br>
  71: <a class="nav" href="pc.html">Scegliere il computer </a><br><br>
  72: <a class="nav" href="soft.html">Scegliere il software</a> <br><br>
  73: Windows o Linux? <br><br>
  74: <a class="nav" href="pensieri.html">Pensieri</a> <br><br> 
  75: <a class="nav" href="links.html">Links</a><br><br>
  76: <a class="nav" href="contatti.html"> Contatti </a> <br> <br>
  77: </td>
  78: </tr>
  79: </table>
  80: </td>
  81: </tr>
  82: </table>
  83: <!-- Fine blocco indice --> 
  84: 
  85: <!-- Colonna destra (testo) -->
  86: <td width="75%" valign="top">
  87: <table cellpadding="0" cellspacing="0" border="0" width="100%">
  88: <tr>
  89: <td width="100%" valign="top">
  90: <div lang="it" align="justify">
  91: <h3>Benvenuti </h3>
  92: <p>Questo sito é nato fondamentalmente perché non avevo mai realizzato 
nulla di simile e il miglior modo per imparare a fare qualcosa é farlo ! <br>
  93: Nel frattempo però, a me e ad alcuni amici, sono venute molte idee pe 
rendere FWR qualcosa che abbia un senso. Alcune di queste si sono trasformate 
in progetti concreti che presto troverete nelle sezioni non ancora attivate del 
sito ! <br>
  94: Potrete trovare una breve guida alla scelta del pc e soprattutto del 
software, informazioni su linux e su come avvicinarsi a questo fantastico 
sistema operativo senza grossi problemi e soprattutto pensieri e 
riflessioni.....<br>
  95: E poi se siete arrivati qui significa che già mi conoscete quindi non 
lamentatevi !
  96: </p><br><br><br><br><br>
  97: <div align="center"><strong>Sito in lenta 
costruzione!</strong><br><br><br><br>
  98: <strong>Realizzato interamente con software OpenSource su piattaforma 
GNU/Linux</strong</div><br><br><br><br>
  99: </td>
 100: </tr>
 101: </table>
 102: </div>
 103: </td>
 104: <table cellpadding="0" cellspacing="0" border="0" width="100%"> 
 105: <tr> 
 106: <td> 
 107: <table cellpadding="0" cellspacing="0" border="0" width="100%">
 108: <tr>
 109: <td>
 110: <!-- Search Google --> 
 111: <center> 
 112: <form method=get action="http://www.google.com/search";> 
 113: <table bgcolor="#ffffff"><tr><td> 
 114: <a href="http://www.google.com";> 
 115: <img src="immagini/google.gif" border="0"  
 116: alt="google" align="absmiddle"></a>  
 117: <input type=text name=q size=31 maxlength=255 value="">  
 118: <input type=hidden name=hl value=it>  
 119: <input type=submit name=btng value="cerca con google">  
 120: </td></tr>
 121: </table>  
 122: </form>  
 123: </center> 
 124: 
 125: <!-- Search Google End-->
 126: </td>
 127: <tr>
 128: <td>
 129: <center>Visite: <img 
src="http://syndication.tripod.lycos.it/cgi/counter/counter.php?userlogin=fwr&cntr=1";></center><br>
 130: </td>
 131: </tr>
 132: <tr>
 133: <td>
 134: <img src="immagini/getmozilla.png" width="88" height="31" alt="Mozilla 
now !">
 135: 
 136: <a class="nav" target="newwindow" 
href="http://bluefish.openoffice.nl";><img src="immagini/madewithbluefish.jpg" 
width="116" height="55" alt="Made with Bluefish !"></a>
 137: 
 138: 
 139: <img src="immagini/infectivex.png" width="185" height="77" alt="Questo 
sito contiene controlli InfectiveX !">
 140: 
 141: <img src="immagini/msnoway.png" width="155" height="101" alt="Fotti 
Microsoft !">
 142: 
 143: <a class="nav" target="newwindow" 
href="http://www.anybrowser.org/campaign/anybrowser_it.html";><img 
src="immagini/anyb.jpg" width="256" height="46" alt="Questo sito é consultabile 
con qualsiasi browser"></a>
 144: 
 145: <a href="http://amigaphil.planetinternet.be/PNG.html"; class="nav" 
target="newwindow"><img src="immagini/PNGnow.png" width="88" height="31" 
alt="Questo sito utilizza il formato PNG"></a>
 146: 
 147: <img src="immagini/against.png" width="91" height="31" alt="Fuck the 
system !">
 148: </td>
 149: 
 150: </tr>
 151: 
 152: </tr>
 153: </table>
 154: </td> 
 155: </tr> 
 156: </table>
 157: </td>
 158: <!-- Fine colonna destra -->
 159: </tr>
 160: 
 161: 
 162: </table>
 163: <!-- Fine tabella body -->
 164: 
 165: </body>
 166: 
 167: </html>
 168: </xmp></noscript>
 169: 
 170: <!-- START RedMeasure V4 - Java v1.1  $Revision: 1.2 $-->
 171: <!-- COPYRIGHT 2000 Red Sheriff Limited -->
 172: <script language="JavaScript"><!--
 173: var pCid="it_lycos-it_0";
 174: var w0=1;
 175: var refR=escape(document.referrer);
 176: if (refR.length>=252) refR=refR.substring(0,252)+"...";
 177: //--></script>
 178: <script language="JavaScript1.1"><!--
 179: var w0=0;
 180: //--></script>
 181: <script language="JavaScript1.1" 
src="http://server-it.imrworldwide.com/a1.js";>
 182: </script>
 183: <script language="JavaScript"><!--
 184: if(w0){
 185: var imgN='<img 
src="http://server-it.imrworldwide.com/cgi-bin/count?ref='+ 
refR+'&cid='+pCid+'" width=1 height=1>';
 186: if(navigator.userAgent.indexOf('Mac')!=-1){document.write(imgN);
 187: }else {
 188:  document.write('<applet code="Measure.class" '+
 189:  'codebase="http://server-it.imrworldwide.com/";'+'width=1 height=2>'+
 190:  '<param name="ref" value="'+refR+'">'+'<param name="cid" value="'+pCid+
 191:  '"><textflow>'+imgN+'</textflow></applet>');
 192:  }
 193: }
 194: document.write("<COMMENT>");
 195: //-->
 196: </script>
 197: <noscript>
 198: <img 
src="http://server-it.imrworldwide.com/cgi-bin/count?cid=it_lycos-it_0";
 199: width=1 height=1>
 200: </noscript>
 201: </COMMENT>
 202: <!-- END RedMeasure V4 -->
 203: 
 204: </noscript><script type="text/javascript" 
src="http://ads.tripod.lycos.it/ad/ad.php?cat=noref&mkw=&CC=it&ord=3dd7f1df&adpref=";></script>

Other related posts: