Alors voilà le code :
- Code: Tout sélectionner
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"xml:lang="fr">
<head>
<title>Freezone, home</title>
<meta http-equiv="Content-Type"content="text/html; charset=iso-8859-1"/>
<meta name="generator" content="NC-Technologies MetaCreator"/>
<meta http-equiv="pragma" content="no-cache"/>
<meta name="classification" content=" "/>
<meta name="description" content="Freezone est un site totalement dédiée au GRATUIT mais aussi à faire des affaires très intéressantes."/>
<meta name="keywords" content="casino, site, argent, gifs, australie, porno, sexe, rencontre, gratuit, free, forum, tchat, musique, mp3, jeux, concours, affiliation, gagné, fabriquer, affilié, animaux"/>
<meta name="robots" content="ALL"/>
<meta name="distribution" content="Global"/>
<meta name="rating" content="General"/>
<meta name="copyright" content=""/>
<meta name="author" content="DarkGhost"/>
<meta http-equiv="reply-to" content="freedom.ghost@yahoo.fr"/>
<meta name="language" content="multilanguage"/>
<meta name="revisit-after" content="7 days" />
<meta name="doc-type" content=" "/>
<meta name="doc-rights" content=" "/>
<meta name="Indentifier-URL" content="http://www.freezone.neo.cx/"/>
<link rel="stylesheet"media="screen"type="text/css"title="css"href="CSS/design_principale.css"/>
<script language="javascript">
function rubriques(n)
{
if(n == 1)
{
document.getElementById("zone_rubriques").innerHTML = '<a href="index.php" STYLE="color:#2313ec">Accueil</a> |<a href="reco.php" STYLE="color:#2313ec">Recommendation</a>';
}
if(n == 2)
{
document.getElementById("zone_rubriques").innerHTML = '<a href="http://www.chezmaya.com/alm/alamemoire.htm" STYLE="color:#2313ec">Memorium</a> | <a href="souvenir.php" STYLE="color:#2313ec">N°1</a>';
}
if(n == 3)
{
document.getElementById("zone_rubriques").innerHTML = '<a href="http://multiweb.monforum.fr/index.php" STYLE="color:#2313ec">Forum</a> | <a href="lien2.html" STYLE="color:#2313ec">Tchat</a> | <a href="lien3.html" STYLE="color:#2313ec">Blog</a>';
}
if(n == 4)
{
document.getElementById("zone_rubriques").innerHTML = '<a href="lien.php" STYLE="color:#2313ec">Liens</a> | <a href="contact.php" STYLE="color:#2313ec">Contact</a>';
}
}
</script>
<script language="javascript">
rub1 = ' <span class="close"><a href="">Final Fantasy</a></span><br>';
rub2 = ' <span class="close"><a href="affiliation.php">Affilié</a><br> <a href="http://www.milimel.com/site/promo/inscription.asp">Milimel</a><br> <a href="http://www.partnershop.fr/shop/4108">Lycoshop</a></span><br>';
rub3 = ' <span class="close"><a href="http://www.casino-gpalace.com/index.php?540876">G-Palace</a><br> <a href="http://www.casino2rio.com/index.php?540876">2Rio</a><br> <a href="http://www.monlasvegas.com/index.php?540876">Lasvegas</a></span><br>';
function fermer(e)
{
document.getElementById("rubrique"+e).innerHTML = '';
document.getElementById("rubrique"+e).style.position = 'absolute';
}
function go(n)
{
document.getElementById("rubrique"+n).style.position = 'relative';
if(n == 1)
{
document.getElementById("rubrique"+n).innerHTML = rub1 + " <a href='javascript:fermer("+n+")'>Fermer</a>";
}
if(n == 2)
{
document.getElementById("rubrique"+n).innerHTML = rub2 + " <a href='javascript:fermer("+n+")'>Fermer</a>";
}
if(n == 3)
{
document.getElementById("rubrique"+n).innerHTML = rub3 + " <a href='javascript:fermer("+n+")'>Fermer</a>";
}
}
</script>
</head>
<body>
<div id="en_tete">
</div>
<? include("menu2.php"); ?>
<div id="menu">
<? include("menu.php"); ?>
</div>
<div id="corps">
<p>
<SCRIPT language=JavaScript>
<!-- Hide the script from non-Javascript browsers
var date_statement="";
var time_statement="";
var today=new Date();
var month="";
var day="";
function todays_date() {
var month=today.getMonth();
var day_of_week=today.getDay();
date_statement=""
document.month=""
month++; // So it's now between 1 - 12.
if(month==1) {
january(today.getDate());
document.month="janvier";
}
if(month==2) {
february(today.getDate());
document.month="février";
}
if(month==3) {
march(today.getDate());
document.month="mars";
}
if(month==4) {
april(today.getDate());
document.month="avril";
}
if(month==5) {
may(today.getDate());
document.month="mai";
}
if(month==6) {
june(today.getDate());
document.month="juin";
}
if(month==7) {
july(today.getDate());
document.month="juillet";
}
if(month==8) {
august(today.getDate());
document.month="août";
}
if(month==9) {
september(today.getDate());
document.month="septembre";
}
if(month==10) {
october(today.getDate());
document.month="octobre";
}
if(month==11) {
november(today.getDate());
document.month="novembre";
}
if(month==12) {
december(today.getDate());
document.month="décembre";
}
document.day=""
if(day_of_week==0)
document.day="dimanche";
if(day_of_week==1)
document.day="lundi";
if(day_of_week==2)
document.day="mardi";
if(day_of_week==3)
document.day="mercredi";
if(day_of_week==4)
document.day="jeudi";
if(day_of_week==5)
document.day="vendredi";
if(day_of_week==6)
document.day="samedi";
}
function january(date) {
if(date==1)
date_statement="";
if(date==26)
date_statement="";
}
function february(date) {
if(date==14)
date_statement="";
}
function march(date) {
if(date==15)
date_statement="";
if(date==17)
date_statement="";
}
function march(date) {
if(date==21)
date_statement="";
if(date==25)
date_statement="";
}
function april(date) {
if(date==1)
date_statement="";
if(date==30)
date_statement="";
}
function may(date) {
if(date==1)
date_statement="";
if(date==17)
date_statement="";
}
function june(date) {
if(date==2)
date_statement="";
if(date==5)
date_statement="";
if(date==10)
date_statement="";
if(date==17)
date_statement="";
if(date==21)
date_statement="";
if(date==23)
date_statement="";
if(date==24)
date_statement="";
}
function july(date) {
if(date==1)
date_statement="";
if(date==4)
date_statement="";
if(date==14)
date_statement="";
if(date==21)
date_statement="";
if(date==23)
date_statement="";
}
function august(date) {
if(date==1)
date_statement="";
}
function september(date) {
if(date==7)
date_statement="";
if(date==21)
date_statement="C'est l'automne !";
}
function october(date) {
if(date==3)
date_statement="";
if(date==12)
date_statement="";
if(date==31)
date_statement="Happy Halloween.";
}
function november(date) {
}
function december(date) {
if(date==21)
date_statement+="Couvrez-vous c'est l'hiver !";
if(date==23)
date_statement+="";
if(date==25)
date_statement="Joyeux Noël!";
if(date==31)
date_statement="Bon réveillon !";
}
function time_of_day() {
var time=today.getHours();
time_statement=""
if(time>=6 && time<8)
time_statement="Déja sur le Net !,"
if(time>=8 && time<12)
time_statement="Bonne matinée,"
if(time>=12 && time<13)
time_statement="Bon appétit,"
if(time>=13 && time<17)
time_statement="Bon après-midi,"
if(time>=17 && time<18)
time_statement="Bon fin d'après-midi,"
if(time>=18 && time<20)
time_statement="Bonsoir et bon appétit,"
if(time>=20 && time<22)
time_statement="Bonsoir,"
if(time>=22 || time<6)
time_statement="Salut les couche-tard,"
}
// -- End Hiding Here -->
</SCRIPT>
<SCRIPT language=JavaScript>
<!-- Hide the script from non-Javascript browsers
time_of_day();
todays_date();
document.writeln(""+time_statement+" et bienvenue, nous sommes le "+document.day+" "+today.getDate()+" "+document.month+". "+date_statement+"")
// -- End Hiding Here -->
</SCRIPT></p>
<p>
Freezone est un site ayant beaucoup de particularités alors ne cherchez pas, visitez le!! Découvrez des casinos, le forum avec différents sujets,... Bonne visite!!
</p>
<p>
<span class="important">IMPORTANT!!</span> <span class="attention">pour le bon fonctionnement de ce site (et aussi pour enrichir votre ordinateur), veuillez télécharger la police d'écriture : "<a href="doc/starcraft.ttf">Starcraft</a>" en cliquant dessus. </span>
</p>
<p>
<span class="important">CONSEIL :</span> <span class="attention">Il y a une rubrique sur ce site qui est à lire absolument, elle s'appelle "coup d'coeur".</span>
</p>
<table>
<th>
<span class="news">NEWS :</span>
</th>
<tr><td>
1.A défaut de se répéter, passez à Firefox, il n'a rien à envier à IE, ses avantages sont multiples, libre, gratuit et bien plus encore, pour vous en concvaincre, rendez-vous sur ce site : <a href="http://emmanuel.clement.free.fr/navigateurs/comparatif.htm">[lien]</a>
</td></tr>
<tr><td>
2.Fondé sur la même technologie que le navigateur libre Firefox, téléchargé à plus de 10 millions d'exemplaires en un mois, Thunderbird est un client de messagerie open source développé par la Fondation Mozilla. Il propose presque toutes les fonctionnalités d'Outlook 2003, le coût de licence en moins.
</td></tr>
<tr><td>
3.Les animaux sont en dangés en tout temps et en tous moment, il existe des associations pour les aider. Il y a quelque adresse dans la partie n°1 de coup de coeur et il y a ce site aussi : <a href="http://league-animal-rights.org/news.html">[lien]</a>
</td></tr>
</table>
</div>
<div id="pied_de_page">
<? include("pied.php"); ?>
</div>
</body>
</html>
Je l'ai essayé sur W3C et il m'indique des erreurs que je ne comprends pas.
Alors les voilà :
Line 23 column 17: there is no attribute "language".
<script language="javascript">
You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute
Line 23 column 29: required attribute "type" not specified.
<script language="javascript">
The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
Typical values for type are type="text/css" for <style> and type="text/javascript" for <script
La ligne 23 est :
- Code: Tout sélectionner
<script language="javascript">
Line 28 column 89: there is no attribute "STYLE".
...nerHTML = '<a href="index.php" STYLE="color:#2313ec">Accueil</a> |<a href="re
Line 28 column 104: document type does not allow element "a" here.
...ref="index.php" STYLE="color:#2313ec">Accueil</a> |<a href="reco.php" STYLE="
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
Ligne 28 :
- Code: Tout sélectionner
document.getElementById("zone_rubriques").innerHTML = '<a href="index.php" STYLE="color:#2313ec">Accueil</a> |<a href="reco.php" STYLE="color:#2313ec">Recommendation</a>';
PS :je ne comprends pas trop l'anglais!!
Merci