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>
^
Error: required attribute "TYPE" not specified
<script language="JavaScript"><!--
^
Error: required attribute "TYPE" not specified
document.write('</FRAMESET>');
^
Error: end tag for element "FRAMESET" which is not open; try removing the end tag or check for improper nesting of elements
document.write(' </FRAMESET>');
^
Error: end tag for element "FRAMESET" which is not open; try removing the end tag or check for improper nesting of elements
document.write('</FRAMESET>');
^
Error: end tag for element "FRAMESET" which is not open; try removing the end tag or check for improper nesting of elements
document.write(' </FRAMESET>');
^
Error: end tag for element "FRAMESET" which is not open; try removing the end tag or check for improper nesting of elements
<BODY>
^
Error: element "BODY" not allowed here; check which elements this element may be contained within
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>La Camera dei Deputati</TITLE> 6: 7: <SCRIPT LANGUAGE="JavaScript"> 8: 9: <!-- This script and many more are available free online at --> 10: <!-- The JavaScript Source!! http://javascript.internet.com --> 11: <!-- Begin 12: 13: var page = "_box13leg.htm" 14: var windowprops = "width=300,height=200,location=no,toolbar=no,menubar=no,scrollbars=no,resizable=yes"; 15: 16: function GetCookie (name) { 17: var arg = name + "="; 18: var alen = arg.length; 19: var clen = document.cookie.length; 20: var i = 0; 21: while (i < clen) { 22: var j = i + alen; 23: if (document.cookie.substring(i, j) == arg) 24: return getCookieVal (j); 25: i = document.cookie.indexOf(" ", i) + 1; 26: if (i == 0) break; 27: } 28: return null; 29: } 30: 31: function SetCookie (name, value) { 32: var argv = SetCookie.arguments; 33: var argc = SetCookie.arguments.length; 34: var expires = (argc > 2) ? argv[2] : null; 35: var path = (argc > 3) ? argv[3] : null; 36: var domain = (argc > 4) ? argv[4] : null; 37: var secure = (argc > 5) ? argv[5] : false; 38: document.cookie = name + "=" + escape (value) + 39: ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) + 40: ((path == null) ? "" : ("; path=" + path)) + 41: ((domain == null) ? "" : ("; domain=" + domain)) + 42: ((secure == true) ? "; secure" : ""); 43: } 44: 45: function DeleteCookie (name) { 46: var exp = new Date(); 47: exp.setTime (exp.getTime() - 1); 48: var cval = GetCookie (name); 49: document.cookie = name + "=" + cval + "; expires=" + exp.toGMTString(); 50: } 51: 52: var expDays = 336; 53: var exp = new Date(); 54: exp.setTime(exp.getTime() + (expDays*24*60*60*1000)); 55: 56: function getCookieVal(offset) { 57: var endstr = document.cookie.indexOf (";", offset); 58: if (endstr == -1) 59: endstr = document.cookie.length; 60: return unescape(document.cookie.substring(offset, endstr)); 61: } 62: // End --> 63: </script> 64: 65: <script> 66: var nwidth; 67: var cookiewidth; 68: nwidth = screen.width; 69: 70: function checkRes() { 71: var res 72: res = GetCookie('camerares'); 73: return res 74: } 75: 76: // Settaggio del Cookie per la risoluzione 77: cookiewidth = checkRes(); 78: if (cookiewidth != nwidth){ 79: SetCookie ('camerares', nwidth) 80: } 81: </script> 82: 83: </HEAD> 84: 85: <script language="JavaScript"><!-- 86: var nRisoluzione = screen.width; 87: var sTopSuffix = ''; 88: var nTopHeight = 112; 89: var nPositionHeight = 15; 90: var sContentURL = '/_inc/bottom_ns_inter'; 91: 92: if (nRisoluzione >= 1400) { 93: sTopSuffix = '_1400'; 94: nTopHeight = 196; 95: nPositionHeight = 26; 96: 97: if ( sContentURL.indexOf('bottom_') > 0) { 98: sContentURL += sTopSuffix + '.htm'; 99: } 100: } 101: else { 102: if ( sContentURL.indexOf('bottom_') > 0) { 103: sContentURL += '.htm'; 104: } 105: } 106: 107: /*if (navigator.userAgent.indexOf( 'Mozilla/2') > 0) { 108: document.write('<FRAMESET ROWS="' + nTopHeight + ',*" FRAMEBORDER="0" BORDER=0 FRAMESPACING="0" BORDER="0">'); 109: document.write(' <FRAME NAME="top" SRC="top_ot_inter' + sTopSuffix + '.htm" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="No" FRAMEBORDER="0" NORESIZE>'); 110: document.write(' <FRAME NAME="bottom" SRC="' + sContentURL + '?screen=' + nRisoluzione + '" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="Auto" FRAMEBORDER="0" NORESIZE>'); 111: document.write('</FRAMESET>'); 112: } 113: else { 114: document.write(' <FRAMESET ROWS="' + nTopHeight + ',*,15" FRAMEBORDER="0" BORDER=0 FRAMESPACING="0" BORDER="0">'); 115: document.write(' <FRAME NAME="top" SRC="top_ot_inter' + sTopSuffix + '.htm" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="No" FRAMEBORDER="0" NORESIZE>'); 116: document.write(' <FRAME NAME="bottom" SRC="' + sContentURL + '?screen=' + nRisoluzione + '" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="Auto" FRAMEBORDER="0" NORESIZE>'); 117: document.write(' <FRAME NAME="position" SRC="/_position' + sTopSuffix + '.htm" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="No" FRAMEBORDER="0" NORESIZE>'); 118: document.write(' </FRAMESET>'); 119: }*/ 120: 121: if (navigator.userAgent.indexOf( 'Mozilla/2') > 0) { 122: document.write('<FRAMESET ROWS="' + nTopHeight + ',*" FRAMEBORDER="0" BORDER=0 FRAMESPACING="0" BORDER="0">'); 123: document.write(' <FRAME NAME="top" SRC="top_ot_inter' + sTopSuffix + '.htm" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="No" FRAMEBORDER="0" NORESIZE>'); 124: document.write(' <FRAME NAME="bottom" SRC="' + sContentURL + '" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="Auto" FRAMEBORDER="0" NORESIZE>'); 125: document.write('</FRAMESET>'); 126: } 127: else { 128: document.write(' <FRAMESET ROWS="' + nTopHeight + ',*,'+ nPositionHeight +'" FRAMEBORDER="0" BORDER=0 FRAMESPACING="0" BORDER="0">'); 129: document.write(' <FRAME NAME="top" SRC="top_ot_inter' + sTopSuffix + '.htm" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="No" FRAMEBORDER="0" NORESIZE>'); 130: document.write(' <FRAME NAME="bottom" SRC="' + sContentURL + '" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="Auto" FRAMEBORDER="0" NORESIZE>'); 131: document.write(' <FRAME NAME="position" SRC="/_position' + sTopSuffix + '.htm" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="No" FRAMEBORDER="0" NORESIZE>'); 132: document.write(' </FRAMESET>'); 133: } 134: 135: // --></script> 136: 137: 138: 139: <NOFRAMES> 140: <BODY> 141: È necessario usare MS Internet Explorer 4 (o superiore),<BR> 142: Netscape Navigator 4 (o superiore),<BR> 143: Opera 144: 145: 146: </BODY> 147: </NOFRAMES> 148: 149: </HTML>