Bonjour
Lorsque dans les instructions je coupe les 25 instructions jointes pour les intégrer par INCLUDE, j'obtiens des erreurs (absentes précédemment) dont le rejet des Meta mais aussi plus surprenant le début de la section Body considéré comme déjà ouverte alors qu'elle est citée pour la première fois !
Y a-t-il des limites à respecter pour les Include ? Où peut-on trouver ces interdictions ?
merci de vos indications.
RJL2707
Ci-dessous Instructions en Include dans Doct.php, programme appelant et généré pour les 30 premières lignes.
Info: W3c Online Validation
line 5 column 84 - Erreur: Attribute name not allowed on element meta at this point.
line 5 column 84 - Erreur: Element meta is missing required attribute itemprop.
line 6 column 62 - Erreur: Attribute name not allowed on element meta at this point.
line 6 column 62 - Erreur: Element meta is missing required attribute itemprop.
line 7 column 36 - Erreur: Attribute name not allowed on element meta at this point.
line 7 column 36 - Erreur: Element meta is missing required attribute itemprop.
line 8 column 34 - Erreur: Attribute name not allowed on element meta at this point.
line 8 column 34 - Erreur: Element meta is missing required attribute itemprop.
line 10 column 7 - Erreur: Stray end tag head.
line 10 column 13 - Erreur: An body start tag seen but an element of the same type was already open.
Include Doct.php
Appel de Doct.php
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25 <meta name="DESCRIPTION" content="Actions culturelles ; Université du Temps Libre"> <meta name="KEYWORDS" content="UTL, Cotes d'Armor, Sud-Goëlo"> <meta name="ROBOTS" content="Index"> <meta name="AUTHOR" content="RJL"> <link rel="stylesheet" type="text/css" href="index_fichiers/CSS-UTL.css"> </head><body> <div class="bloc-page"> <div class="colgch-acc"> <div class="cadnav-acc"> <div class="logUTLinit"><img class="logo-utl-acc" alt="Logo UTL base" src="index_fichiers/LogoUTL2.png"> </div> <h1 class="menu-acc">Menu</h1><!-- Fin Menu --> <nav class="menucorps ctrge"> <ul class="navigation larger" style="text-align: center;"> <li><a href="index.php" title="Accueil">Accueil UTL</a></li> <li><a href="pgUTL/Histo2012-2013.html" title="Programme de l'année">Programme 2012-2013</a></li> <li><a href="pgUTL/HistoConferences.html" title="Historique des conférences / années">Historique</a></li> <li><a href="Page22/UTL-CABureau.html" title="Organisation">Bureau CA non actif</a></li> <li><a href="file:///E:/Docum/DocumRJL/Associations/UTL/www/Page22/UTL-Agenda.html" title="Planning Sorties">inactif</a></li> <li><a href="pgUTL/MajBase.html" title="Mise à jour BD">MàJ BD</a></li> <li><a href="file:///E:/Docum/DocumRJL/Associations/UTL/www/Page22/UTL-Partenaires.html" title="Liens vers leurs sites">Partenaires</a></li> <li><a href="file:///E:/Docum/DocumRJL/Associations/UTL/www/Page22/AR22-PlanSite.html" title="Accès directs entre pages">Plan du Site</a></li> <li><a href="mailto:webmaster@utl-sud-goelo.org" title="Nous adresser un mail">Nous contacter</a></li> </ul> <!--Fin menucorps --></nav>
Généré
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8<!DOCTYPE html> <html lang="fr"><head> <meta charset="utf-8"> <title>Accueil UTL Sud-Goëlo</title> <?php include ("Doct.php"); ?> <div class="basgch-acc2"> Nombre de visites<br /> <center>
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31 <!DOCTYPE html> <html lang="fr"><head> <meta charset="utf-8"> <title>Accueil UTL Sud-Goëlo</title> <meta name="DESCRIPTION" content="Actions culturelles ; Université du Temps Libre"> <meta name="KEYWORDS" content="UTL, Cotes d'Armor, Sud-Goëlo"> <meta name="ROBOTS" content="Index"> <meta name="AUTHOR" content="RJL"> <link rel="stylesheet" type="text/css" href="index_fichiers/CSS-UTL.css"> </head><body> <div class="bloc-page"> <div class="colgch-acc"> <div class="cadnav-acc"> <div class="logUTLinit"><img class="logo-utl-acc" alt="Logo UTL base" src="index_fichiers/LogoUTL2.png"> </div> <h1 class="menu-acc">Menu</h1><!-- Fin Menu --> <nav class="menucorps ctrge"> <ul class="navigation larger" style="text-align: center;"> <li><a href="index.php" title="Accueil">Accueil UTL</a></li> <li><a href="pgUTL/Histo2012-2013.html" title="Programme de l'année">Programme 2012-2013</a></li> <li><a href="pgUTL/HistoConferences.html" title="Historique des conférences / années">Historique</a></li> <li><a href="Page22/UTL-CABureau.html" title="Organisation">Bureau CA non actif</a></li> <li><a href="file:///E:/Docum/DocumRJL/Associations/UTL/www/Page22/UTL-Agenda.html" title="Planning Sorties">inactif</a></li> <li><a href="pgUTL/MajBase.html" title="Mise à jour BD">MàJ BD</a></li> <li><a href="file:///E:/Docum/DocumRJL/Associations/UTL/www/Page22/UTL-Partenaires.html" title="Liens vers leurs sites">Partenaires</a></li> <li><a href="file:///E:/Docum/DocumRJL/Associations/UTL/www/Page22/AR22-PlanSite.html" title="Accès directs entre pages">Plan du Site</a></li> <li><a href="mailto:webmaster@utl-sud-goelo.org" title="Nous adresser un mail">Nous contacter</a></li> </ul> <!--Fin menucorps --></nav> <div class="basgch-acc2"> Nombre de visites<br /> <center>
Partager