HTML
4.01 Transitional
» inserted instead. The document will not be Valid
until you alter the source file to reflect this new DOCTYPE.
Below are the results of attempting to parse this document with an SGML parser.
Please note that you have chosen one or more options that alter the content of the document before validation, or have not provided enough information to accurately validate the document. Even if no errors are reported below, the document will not be valid until you manually make the changes we have performed automatically. Specifically, if you used some of the options that override a property of the document (e.g. the DOCTYPE or Character Encoding), you must make the same change to the source document or the server setup before it can be valid. You will also need to insert an appropriate DOCTYPE Declaration or Character Encoding (the "charset" parameter for the Content-Type HTTP header) if any of those are missing.
<script language="JavaScript">
^
Error: required attribute "TYPE" not specified
<SCRIPT LANGUAGE="JavaScript">
^
Error: required attribute "TYPE" not specified
... <BODY bgcolor="#003366" leftmargin="0" topmargin="0" marginw ...
^
Error: there is no attribute "LEFTMARGIN" for this element (in this HTML version)
... "#003366" leftmargin="0" topmargin="0" marginwidth="0" margi ...
^
Error: there is no attribute "TOPMARGIN" for this element (in this HTML version)
... rgin="0" topmargin="0" marginwidth="0" marginheight="0">
^
Error: there is no attribute "MARGINWIDTH" for this element (in this HTML version)
... in="0" topmargin="0" marginwidth="0" marginheight="0">
^
Error: there is no attribute "MARGINHEIGHT" for this element (in this HTML version)
... " width="745" height="69" border="0" usemap="#Map"><map name="Map"><ar ...
^
Error: required attribute "ALT" not specified
... src="images/frame_02.gif" width="279" height="450"></TD>
^
Error: required attribute "ALT" not specified
... src="images/frame_03.gif" width="745" height="59"></TD>
^
Error: required attribute "ALT" not specified
... dth="745" height="25" usemap="#MapMenu" border="0"></TD>
^
Error: required attribute "ALT" not specified
... e_05.gif" width="319" height="161" align="baseline" vspace="10" hspace ...
^
Error: value of attribute "ALIGN" cannot be "BASELINE"; must be one of "TOP", "MIDDLE", "BOTTOM", "LEFT", "RIGHT"
... e="10" hspace="20" usemap="#MapCerchio" border="0">
^
Error: required attribute "ALT" not specified
... " height="81" usemap="#Map2" border="0" hspace="2">
^
Error: required attribute "ALT" not specified
<font color=#000000 face="Verdana" size="1">
^
Error: an attribute value must be quoted if it contains any character other than letters (A-Za-z), digits, hyphens, and periods; use quotes if in doubt
<script language=JavaScript>
^
Error: required attribute "TYPE" not specified
... /frame_06.gif" width="38" height="297" vspace="15"></TD>
^
Error: required attribute "ALT" not specified
... ="../common/" WIDTH="270" HEIGHT="280" VIEWASTEXT id="Applet1">
^
Error: "VIEWASTEXT" is not a member of a group specified for any attribute
... <TD valign="top" background="images/frame_08.gif" width="25 ...
^
Error: there is no attribute "BACKGROUND" for this element (in this HTML version)
... src="images/frame_08.gif" width="25" height="297"></TD>
^
Error: required attribute "ALT" not specified
Sorry, this document does not validate as HTML 4.01 Transitional.
If you use CSS in your document, you should also check it for validity using the W3C CSS Validation Service.
Below is the source input I used for this validation:
1: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2: 3: <HTML> 4: <HEAD> 5: <title>Ministero dell'Ambiente e della Tutela del Territorio</title> 6: <META name="keywords" content="Ministero Ambiente, Autoritࠡmbientali, Domeniche ecologiche, Sviluppo sostenibile, Formazione, educazione, elettrosmog, Tutela ambientale, salvaguardia ambientale, difesa del territorio, aree protette, carta della natura, desertificazione, Agenda 21, Energia rinnovabile, Valutazione impatto ambientale, mare"> 7: <meta name="description" content="Sito Internet del Ministero dell'Ambiente e della Tutela del Territorio"> 8: <link rel="stylesheet" href="common/stiletesto.css"> 9: <script language="JavaScript"> 10: <!-- 11: function MM_swapImgRestore() { //v3.0 12: var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;} 13: 14: function MM_preloadImages() { //v3.0 15: var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); 16: var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) 17: if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}} 18: 19: function MM_findObj(n, d) { //v3.0 20: var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { 21: d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} 22: if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; 23: for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;} 24: 25: function MM_swapImage() { //v3.0 26: var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) 27: if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}} 28: //--> 29: </script> 30: <SCRIPT LANGUAGE="JavaScript"> 31: function fuori() 32: { 33: alert("Questa selezione attiva un collegamento esterno\nal sito del Ministero dell'Ambiente"); 34: } 35: </SCRIPT> 36: 37: <script type="text/javascript" language="JavaScript"> 38: //Default browsercheck, added to all scripts! 39: function checkBrowser(){ 40: this.ver=navigator.appVersion 41: this.dom=document.getElementById?1:0 42: this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0; 43: this.ie4=(document.all && !this.dom)?1:0; 44: this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0; 45: this.ns4=(document.layers && !this.dom)?1:0; 46: this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5) 47: return this 48: } 49: bw=new checkBrowser() 50: /***************** 51: 52: You set the width and height of the divs inside the style tag, you only have to 53: change the divCont, Remeber to set the clip the same as the width and height. 54: You can remove the divUp and divDown layers if you want. 55: This script should also work if you make the divCont position:relative. 56: Then you should be able to place this inside a table or something. Just remember 57: that Netscape crash very easily with relative positioned divs and tables. 58: 59: Updated with a fix for error if moving over layer before pageload. 60: 61: ****************/ 62: 63: 64: //If you want it to move faster you can set this lower: 65: var speed=50 66: 67: //Sets variables to keep track of what's happening 68: var loop, timer 69: 70: //Object constructor 71: function makeObj(obj,nest){ 72: nest=(!nest) ? '':'document.'+nest+'.' 73: this.el=bw.dom?document.getElementById(obj):bw.ie4?document.all[obj]:bw.ns4?eval(nest+'document.'+obj):0; 74: this.css=bw.dom?document.getElementById(obj).style:bw.ie4?document.all[obj].style:bw.ns4?eval(nest+'document.'+obj):0; 75: this.scrollHeight=bw.ns4?this.css.document.height:this.el.offsetHeight 76: this.clipHeight=bw.ns4?this.css.clip.height:this.el.offsetHeight 77: this.up=goUp;this.down=goDown; 78: this.moveIt=moveIt; this.x; this.y; 79: this.obj = obj + "Object" 80: eval(this.obj + "=this") 81: return this 82: } 83: function moveIt(x,y){ 84: this.x=x;this.y=y 85: this.css.left=this.x 86: this.css.top=this.y 87: } 88: 89: //Makes the object go up 90: function goDown(move){ 91: if(this.y>-this.scrollHeight+oCont.clipHeight){ 92: this.moveIt(0,this.y-move) 93: if(loop) setTimeout(this.obj+".down("+move+")",speed) 94: } 95: } 96: //Makes the object go down 97: function goUp(move){ 98: if(this.y<0){ 99: this.moveIt(0,this.y-move) 100: if(loop) setTimeout(this.obj+".up("+move+")",speed) 101: } 102: } 103: 104: //Calls the scrolling functions. Also checks whether the page is loaded or not. 105: function scroll(speed){ 106: if(loaded){ 107: loop=true; 108: if(speed>0) oScroll.down(speed) 109: else oScroll.up(speed) 110: } 111: } 112: 113: //Stops the scrolling (called on mouseout) 114: function noScroll(){ 115: loop=false 116: if(timer) clearTimeout(timer) 117: } 118: //Makes the object 119: var loaded; 120: function scrollInit(){ MM_preloadImages('immagini/FreSuDown.jpg','immagini/FreSuUp.jpg','immagini/FreGiuDown.jpg','immagini/FreGiuUp.jpg','immagini/Slider.jpg'); 121: oCont=new makeObj('divCont') 122: oScroll=new makeObj('divText','divCont') 123: oScroll.moveIt(0,0) 124: oCont.css.visibility='visible' 125: loaded=true; 126: } 127: //Call the init on page load 128: //onload=scrollInit; 129: </script> 130: </HEAD> 131: <BODY bgcolor="#003366" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> 132: 133: <TABLE border="0" cellspacing="0" cellpadding="0" width="745"> 134: <TR> 135: <TD valign="top" colspan="4"><img src="images/testata.gif" width="745" height="69" border="0" usemap="#Map"><map name="Map"><area shape="rect" coords="545,4,689,34" href="http://www.minambiente.it/Wai/presentazione.asp" target="_blank" alt="Sito accessibile" title="Sito accessibile"><area shape="rect" coords="544,36,711,65" href="http://www.reteambientale.it/ML_home.htm" target="_blank" alt="Rete delle autoritࠡmbientali" title="Rete delle autoritࠡmbientali" onclick="fuori()"></map></TD> 136: <TD rowspan="4" valign="top" bgcolor="#003468" width="279"><img src="images/frame_02.gif" width="279" height="450"></TD> 137: </TR> 138: <TR> 139: <TD colspan="4" valign="top"><img src="images/frame_03.gif" width="745" height="59"></TD> 140: </TR> 141: <TR> 142: <TD colspan="4" valign="top"><img src="images/frame_04.gif" width="745" height="25" usemap="#MapMenu" border="0"></TD> 143: </TR> 144: <TR> 145: <TD valign="top" bgcolor="#FFFFFF" width="405"> 146: <p align="left"><img name="Image10" src="images/frame_05.gif" width="319" height="161" align="baseline" vspace="10" hspace="20" usemap="#MapCerchio" border="0"> 147: <br> 148: <br> 149: <img src="images/barra_inf_2.gif" width="397" height="81" usemap="#Map2" border="0" hspace="2"> 150: <map name="Map2"> <area shape="rect" coords="32,31,245,45" href="cvri/cvri.htm" target="_top" alt="Comitato per la vigilanza sull'uso delle risorse idriche" title="Comitato per la vigilanza sull'uso delle risorse idriche"> 151: <area shape="rect" coords="32,7,187,20" href="ecolabel_ecoaudit/ecolabel_ecoaudit.htm" target="_top" alt="Comitato Ecolabel-Ecoaudit" title="Comitato Ecolabel-Ecoaudit"> 152: <area shape="rect" coords="32,62,200,74" href="ccta/ccta.htm" target="_top" alt="Comando Carabinieri Tutela Ambiente" title="Comando Carabinieri Tutela Ambiente"></map> 153: </p> 154: 155: <font color=#000000 face="Verdana" size="1"> 156: <script language=JavaScript> 157: <!-- 158: var days=new Array(8); 159: days[1] = "Domenica"; 160: days[2] = "Lunedì"; 161: days[3] = "Martedì"; 162: days[4] = "Mercoledì"; 163: days[5] = "Giovedì"; 164: days[6] = "Venerdì"; 165: days[7] = "Sabato"; 166: var months=new Array(13); 167: months[1] = "Gennaio"; 168: months[2] = "Febbraio"; 169: months[3] = "Marzo"; 170: months[4] = "Aprile"; 171: months[5] = "Maggio"; 172: months[6] = "Giugno"; 173: months[7] = "Luglio"; 174: months[8] = "Agosto"; 175: months[9] = "Settembre"; 176: months[10] = "Ottobre"; 177: months[11] = "Novembre"; 178: months[12] = "Dicembre"; 179: var dateObj=new Date() 180: var wday=days[dateObj.getDay() + 1] 181: var lmonth=months[dateObj.getMonth() + 1] 182: var date=dateObj.getDate() 183: document.write(wday + ", " + date + " " + lmonth + " " + "2002") 184: // --> 185: 186: </script> 187: </font> </TD> 188: <TD valign="top" bgcolor="#FFFFFF" width="38"><img src="images/frame_06.gif" width="38" height="297" vspace="15"></TD> 189: <TD valign="top" bgcolor="#FFFFFF" width="280"> 190: <table width="90%" align="center" cellpadding="2"> 191: <tr> 192: <td> 193: <applet CODE="yavs.class" codebase="../common/" WIDTH="270" HEIGHT="280" VIEWASTEXT id="Applet1"> 194: <param NAME="MSGTEXT" VALUE="home/news.asp"> 195: <param NAME="FGCOLOR" VALUE="#000000"> 196: <param NAME="BGCOLOR" VALUE="#FFFFFF"> 197: <param NAME="SPEED" VALUE="40"> 198: <param NAME="HREFCOLOR" VALUE="#FF6600"> 199: <param NAME="LINKCOLOR" VALUE="#FF6600"> 200: <param NAME="PAUSE" VALUE="2000"> 201: <param NAME="MOUSEOVERHOLD" VALUE="YES"> 202: <param NAME="WAITTEXT1" VALUE="Caricamento dati in corso"> 203: <param NAME="WAITTEXT2" VALUE="Attendere.."> 204: <param NAME="FONTNAME" VALUE="VERDANA"> 205: <param NAME="FONTSIZE" VALUE="13"> 206: <param NAME="HPAD" VALUE="5"> 207: <param NAME="VPAD" VALUE="5"> 208: </applet> 209: </td> 210: </tr> 211: </table></TD> 212: <TD valign="top" background="images/frame_08.gif" width="25"><img src="images/frame_08.gif" width="25" height="297"></TD> 213: </TR> 214: <!-- 215: <TR> 216: <TD background="images/Hpattern.gif" bgcolor="#003366" colspan="5"> 217: 218: </TD> 219: </TR> 220: --> 221: </TABLE> 222: 223: <!-- MAPPA SUPERIORE--> <!-- MAPPA MENU SUPERIORE--> <map name="MapMenu"> <area shape="rect" ALT="Biblioteca" coords="15,4,89,18" href="biblioteca/biblioteca.asp" target="_top" title="Biblioteca"> 224: <area shape="rect" ALT="News" coords="92,3,137,18" href="news/news.asp" target="_top" title="News"> 225: <!--<area shape="rect" coords="212,4,254,20" href="Ansa.html" target="_top">--> 226: <area shape="rect" ALT="Link" coords="184,3,221,18" href="link/link.asp" target="_top" title="Link"> 227: <area shape="rect" ALT="Contatti" coords="442,4,508,19" href="contatti/contatti.asp" target="_top"> 228: <area shape="rect" coords="513,4,610,19" href="mappa/mappa.asp" target="_top" ALT="Mappa del sito"> 229: <area shape="rect" ALT="A cura di" coords="612,5,681,19" href="acuradi/acuradi.asp" target="_top"> 230: <area shape="rect" coords="226,4,275,18" href="ricerca/ricerca.asp" alt="Ricerca sul sito" title="Ricerca sul sito" target="_top"> 231: </map> <!-- MAPPA CERCHIO--> <map name="MapCerchio"> <area ALT="Ministro dell'Ambiente e della Tutela del Territorio" shape="rect" coords="112,2,178,18" href="ministro/ministro.asp" target="_top" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image10','','images/frame_05_m.gif',1)" title="Ministro dell'Ambiente e della Tutela del Territorio"> 232: <area ALT="Settori d'azione" shape="rect" coords="198,32,288,47" href="settori_azione/settori.asp" target="_top" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image10','','images/frame_05_s.gif',1)" title="Settori d'azione"> 233: <area ALT="Comunicati stampa" shape="rect" coords="200,102,311,118" href="comunicati/comunicati.asp" target="_top" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image10','','images/frame_05_c.gif',1)" title="Comunicati stampa"> 234: <area ALT="Pubblicazioni del Ministero" shape="rect" coords="108,138,184,154" href="pubblicazioni/pubblicazioni.asp" target="_top" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image10','','images/frame_05_p.gif',1)" title="Pubblicazioni del Ministero"> 235: <area ALT="Legislazione" shape="rect" coords="13,102,86,117" href="legislazione/legislazione.asp" target="_top" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image10','','images/frame_05_l.gif',1)" title="Legislazione"> 236: <area ALT="Organigramma del Ministero" shape="rect" coords="4,31,86,49" href="organigramma/organigramma.asp" target="_top" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image10','','images/frame_05_o.gif',1)" title="Organigramma del Ministero"> 237: </map> <!-- FINE MAPPA --> 238: </BODY> 239: </HTML>