Bonjour,
voici mon code :
Et voila ce que me dit le validator W3C :
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75 <form method="post" action="reservation.php"> <br /> <br /> <table border="0"> <tr> <td colspan="2"><i>Les champs marqués d'une * sont obligatoires</i></td> </tr> <tr> <td colspan="2"> </td> </tr> <tr> <td>Nom : *</td> <td><input type="text" name="nom" /></td> </tr> <tr> <td>Prénom : *</td> <td><input type="text" name="prenom" /></td> </tr> <tr> <td>Date de naissance :</td> <td><input type="text" name="naissance" /></td> </tr> <tr> <td>Adresse :</td> <td><input type="text" name="address" /></td> </tr> <tr> <td>Code Postal :</td> <td><input type="text" name="cp" /></td> </tr> <tr> <td>Ville :</td> <td><input type="text" name="ville" /></td> </tr> <tr> <td>Téléphone : *</td> <td><input type="text" name="tel" /></td> </tr> <tr> <td>Portable :</td> <td><input type="text" name="portable" /></td> </tr> <tr> <td>E-Mail :</td> <td><input type="text" name="mail" /></td> </tr> <tr> <td>Date de début de location souhaitée :</td> <td><input type="text" name="debut" /></td> <tr> <tr> <td>Durée de location souhaitée :</td> <td><input type="text" name="duree" /></td> </tr> <tr> <td colspan="2"> <input class="titre" type="submit" value="Envoyer" /> </td> </tr> </table> </form>
Je ne voit pas du tout d'où vient le problème pour les tr....Ca je l'ai plusieurs fois
Line 113, Column 3: document type does not allow element "tr" here.
<tr>
✉
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).
_________________________
Line 126, Column 7: "tr" not finished but containing element ended.
</table>
Merci
Partager