Ciao a tutti,
ho validato tutte le pagine del sito che sto facendo, tranne questa, che viene creata in parte da un generatore che serve a cercare le pagine inserendo una parola chiave.
Mi da questo avviso con http://validator.w3.org/
*****************************************
Result: Tentatively passed validation
Encoding: utf-8
Doctype: HTML 4.01 Transitional
No Character Encoding Found! Falling back to UTF-8.
*****************************************
Codice:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Search this site</title>
</head>
<body bgcolor="#F2F2F2">
<form name="formSear" action="search.html" method="get" onSubmit="return qs();">
<script type="text/javascript" language="JavaScript">
function qs(){
var f=document.formSear;
var qe=f.searWords.value;
if(window.encodeURIComponent)qe=encodeURIComponent (qe);
if(f.area);
if(f.area.value==2){document.location="http://www.google.com/search?q="+qe;
return false;
}
var pt=document.location.href;
var iq=pt.indexOf('?');
if(iq!=-1)pt=pt.substring(0, iq);
if(f.action);
if(f.action!="")pt=f.action;
var ue=pt+"?searWords="+qe;
if(f.search)ue+="&search="+f.search.value;
if(f.match)ue+="&match="+f.match.value;document.lo cation=ue;
return false;
}
</script>
<div style="position: absolute; width: 112px; height: 31px; z-index: 1; left: 822px; top: 38px" id="livello2">
<a href="javascript:window.history.go(-1)">
[img]images/Back.gif[/img]</a></div>
<div style="position: absolute; width: 307px; height: 47px; z-index: 1; left: 27px; top: 28px" id="livello1">
[img]images/Carotid_World2.gif[/img]</div>
<p align="center">
<input name="searWords"><input name="Send" type="submit" value=" Find ">
<p align="center">
</form>
<script type="text/javascript" language="JavaScript" src="webdata.js"></script>
<script type="text/javascript" language="JavaScript" src="searchfunc.js"></script>
</body>
</html>
ho provato a cancellare pezzi di codice per poter individuare il problema, ma non sono riuscito proprio a capire quale può essere il problema.
Sapete a cosa si riferisce ?
grazie
vito