Bonjour,

Ma page d'accueil ne passe pas la validation W3C à cause des balises flash :

Voilà le résultat :
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
 
 Below are the results of attempting to parse this document with an SGML parser.
 
   1. Error Line 50 column 11: there is no attribute "SRC".
 
<embed src="./fr/animations/anim_captels.swf"
 
      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.
 

   2. Error Line 51 column 15: there is no attribute "QUALITY".
 
       quality="high"
 

   3. Error Line 52 column 15: there is no attribute "BGCOLOR".
 
       bgcolor="#ffffff"
 

   4. Error Line 53 column 13: there is no attribute "WIDTH".
 
       width="220"
 

   5. Error Line 54 column 14: there is no attribute "HEIGHT".
 
       height="120"
 

   6. Error Line 55 column 12: there is no attribute "NAME".
 
       name="anim_captels"
 

   7. Error Line 56 column 13: there is no attribute "ALIGN".
 
       align="left"
 

   8. Error Line 57 column 25: there is no attribute "ALLOWSCRIPTACCESS".
 
       allowScriptAccess="sameDomain"
 

   9. Error Line 58 column 12: there is no attribute "TYPE".
 
       type="application/x-shockwave-flash"
 

  10. Error Line 59 column 13: there is no attribute "WMODE".
 
       wmode="transparent"
 

  11. Error Line 60 column 19: there is no attribute "PLUGINSPAGE".
 
       pluginspage="http://www.macromedia.com/go/getflashplayer" />
 
      ✉
  12. Error Line 60 column 65: element "EMBED" undefined.
 
...spage="http://www.macromedia.com/go/getflashplayer" />
 
      You have used the element named above in your document, but the document type you are using does not define an element of that name. 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 "Frameset" document type to get the "<frameset>" element),
          * by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
          * by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case.
 
      ✉
  13. Error Line 97 column 65: element "EMBED" undefined.
 
...spage="http://www.macromedia.com/go/getflashplayer" />
 
      ✉
  14. Error Line 149 column 33: there is no attribute "AUTOSTART".
 
                       autostart="true"
 
      ✉
  15. Error Line 150 column 28: there is no attribute "LOOP".
 
                       loop="true"
 
      ✉
  16. Error Line 154 column 81: element "EMBED" undefined.
 
...ww.macromedia.com/go/getflashplayer" />
Et voici le code de la page :

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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 
<html>
 
<head>
<title>Accueil du site CAPTELS</title>
 
 
  <meta http-equiv="Content-Type" content="text/HTML; iso-8859-15">
  <meta http-equiv="Content-Script-Type" content="text/javascript">
  <meta http-equiv="Content-Style-Type" content="text/css">
  <meta http-equiv="Content-Language" content="fr">
 
 
  <script type="javascript" src="javascript/fonctions.js"></script>
 
  <link rel="stylesheet" type="text/css" href="./fr/styles/styles1.css" media="all">
 
</head>
 
<body id="bodyAccueil">
 
 
<br />
 
<div id="enteteAccueil">
 
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
        codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
        width="220"
        height="120"
        id="anim_captels"
        align="left">
 
<param name="allowScriptAccess"
       value="sameDomain" />
 
<param name="movie"
       value="./fr/animations/anim_captels.swf" />
 
<param name="quality"
       value="high" />
 
<param name="bgcolor"
       value="#ffffff" />
 
<param name="wmode"
       value="transparent">
 
<embed src="./fr/animations/anim_captels.swf"
       quality="high"
       bgcolor="#ffffff"
       width="220"
       height="120"
       name="anim_captels"
       align="left"
       allowScriptAccess="sameDomain"
       type="application/x-shockwave-flash"
       wmode="transparent"
       pluginspage="http://www.macromedia.com/go/getflashplayer" />
 
</object>
 
 
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
        codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
        width="430"
        height="120"
        id="anim_pesageEnAction"
        align="right">
 
<param name="allowScriptAccess"
       value="sameDomain" />
 
<param name="movie"
       value="./fr/animations/anim_pesageEnAction.swf" />
 
<param name="quality"
       value="high" />
 
<param name="bgcolor"
       value="#ffffff" />
 
<param name="wmode"
       value="transparent">
 
<embed src="./fr/animations/anim_pesageEnAction.swf"
       quality="high"
       bgcolor="#ffffff"
       width="430"
       height="120"
       name="anim_pesageEnAction"
       align="right"
       allowScriptAccess="sameDomain"
       type="application/x-shockwave-flash"
       wmode="transparent"
       pluginspage="http://www.macromedia.com/go/getflashplayer" />
 
</object>
 
 
 
 
 
 
</div>
 
<div>
 
<div id="cadreGaucheAccueil">
 
<a href="./fr/secteursActivite.php" title="">
 
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
                        codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
                        width="350"
                        height="262"
                        id="accueil"
                        align="middle">
 
                <param name="allowScriptAccess"
                       value="sameDomain" />
 
                <param name="movie"
                       value="./fr/videos/accueil/accueil.swf" />
 
                <param name="autostart"
                       value="true" />
 
                <param name="loop"
                       value="true" /> 
 
                <param name="quality"
                       value="high" />
 
                <param name="bgcolor"
                       value="#ffffff" />
 
                <param name="wmode"
                       value="transparent">
 
                <embed src="./fr/videos/accueil/accueil.swf"
                       quality="high"
                       bgcolor="#ffffff"
                       width="350"
                       height="262"
                       name="accueil"
                       align="middle"
                       autostart="true"
                       loop="true"
                       allowScriptAccess="sameDomain"
                       type="application/x-shockwave-flash"
                       wmode="transparent"
                       pluginspage="http://www.macromedia.com/go/getflashplayer" />
 
                </object>
 
</a>
 
</div>
 
 
<div id="cadreDroiteAccueil">
 
<p class="centrer">
 
<h3 class="centrer">
CAPTELS S.A.
 
</h3>
 
<p class="centrer">
 
<br />
<br />
1 chemin du Mazet
 
<br />
ZAE des Avants
 
<br />
34270 Saint-Mathieu de Tr&eacute;viers
 
<br />
FRANCE
 
<br />
<br />
 
<img src='./fr/images/telephone.gif' alt='Téléphone' title='Téléphone' width='32' height='32' border='0' align='middle' />&nbsp;&nbsp;33 (0) 467 552 570
 
<br />
<img src='./fr/images/fax.gif' alt='Fax' title='Fax' width='32' height='32' border='0'  align='middle' />&nbsp;&nbsp;33 (0) 467 553 812
 
<br />
<img src='./fr/images/email.gif' alt='Email' title='Email' width='32' height='32' border='0'  align='middle' />&nbsp;&nbsp;<a href="mailto:captels@mnet.fr" title="">captels@mnet.fr</a>
 
</p>
</p>
 
</div>
 
</div>
 
 
<div id="piedPageAccueil">
 
<table align="center">
 
<tr>
 
        <td>
        <a href="./fr/secteursActivite.php" title="">
        <img src="./fr/images/drapeauFrance.gif" border="1" alt="" />
 
 
        <br />
        ENTRER
        </a>
 
        </td>
 
        <td class="tdSeparateur">
        </td>
 
        <td align="center">
        <a href="./fr/secteursActivite.php" title="">
        <img src="./fr/images/drapeauAnglais.gif" border="1" alt="" />
 
 
        <br />
        ENTER
        </a>
 
        </td>
 
        <td class="tdSeparateur">
        </td>
        <td class="tdSeparateur">
        </td>
 
 
        <td>
        <div class="flash">
 
        + de 20 ans
        <br />
        d'expérience
        <br />
        du pesage
        </div>
        </td>
 
 
    </tr>
 
 
    </table>
 
 
</div>
 
 
 
</body>
</html>
Pourquoi ces résultats, et comment remplacer les balises non valides ?

Merci.