Salut à tous, Smiley cligne

Config: PC/XP/DreamMX/Firefox

Je cherche donc à valider une page pour la premiere fois et le validateur wwwc me met 7 erreurs sur des balises, et je ne vois pas comment faire différemment. Il me dit d'utiliser un doc. transitionnel mais c'est ce que j'ai.
Ci joint, le rapport d'erreurs suivi de mon code.
Merci. Smiley smile

# Error  Line 116 column 15: there is no attribute "SRC".

    <embed src="http://img8.imageshack.us/img8/4978/lastcoco9mf.swf" quality="hi

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.

&#9993;
# Error Line 116 column 77: there is no attribute "QUALITY".

...s/img8/4978/lastcoco9mf.swf" quality="high" pluginspage="http://www.macromedi

&#9993;
# Error Line 116 column 96: there is no attribute "PLUGINSPAGE".

...o9mf.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashpl

&#9993;
# Error Line 116 column 147: there is no attribute "TYPE".

...cromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="2

&#9993;
# Error Line 116 column 185: there is no attribute "WIDTH".

...application/x-shockwave-flash" width="209" height="209"></embed></object>

&#9993;
# Error Line 116 column 198: there is no attribute "HEIGHT".

...-shockwave-flash" width="209" height="209"></embed></object>

&#9993;
# Error Line 116 column 203: element "EMBED" undefined.

...kwave-flash" width="209" height="209"></embed></object>

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.



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Index</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--

a:link { color: ##ff9900;font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 17px;text-decoration: none;align:center;} 
a:visited { color: #FF6600;font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 17px;text-decoration: none;align:center;} 
a:hover { color: #ff3366;font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 17px;text-decoration: none;align:center;} 
a:active { color: #ff9900;font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 17px;text-decoration: none;align:center;}

body {background-color: #ffffff;}
#titre {
	background-repeat: no-repeat;
	position: relative;
	visibility: visible;
	z-index: 1;
	background-position: center top;align=center;}
	
#Liens {
	background-repeat: no-repeat;
	position: relative;
	visibility: visible;
	z-index: 1;
	background-position: center top;align:center;}

#conteneurf {
	background-repeat: no-repeat;
	position: absolute;
	visibility: visible;
	z-index: 1;
	background-position: center top;align:center;
	left:274px; top:276px;
	align:center;
	width:492px; height:617px;}
	
	#Layer4 {
	position:absolute;
	background-color: #00ccff;
	left:18px;
	top:956px;
	width:100%;
	margin right:0px;
	background-repeat: repeat-x;
	text-align: center;
	border: outset;
	visibility: visible;
	z-index: 1;
	 }
-->
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head>

<body>
<div id="titre"> 
  <div align="center"><a href="http://imageshack.us"><img src="http://img26.imageshack.us/img26/8797/name3hd.jpg" border="0" width="512" alt="Image Hosted by ImageShack.us" /></a></div>
</div>

<div id="Liens"> 
  <div align="center"><a href="http://img290.imageshack.us/my.php?image=plumeprofil3to.jpg">Hello&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a><a href="http://www.forum-toshop.com/viewtopic.php?t=11864">ChezOim&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a><a href="http://img497.imageshack.us/my.php?image=byebye3du.jpg">Byebye 
    ZinX&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a><a href="http://img110.imageshack.us/my.php?image=jax7ky.jpg">Jacky&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a><a href="http://img290.imageshack.us/my.php?image=araigne5yb.jpg">Nadji</a> 
  </div>
</div>


  
<div id="conteneurf"> In a career spanning twenty-five years, master Illusionist 
  Coco de zen de Wen has established himself as one of today's most spectacular 
  and original illusionists. 
  <p>His show has been seen on all five continents visiting places as diverse 
    as The Middle East, USA, South America, Asia and most of Europe.</p>
  <p>In the UK he has appeared at all the major London theatres including xXXXxx 
    and XXXXXxxxxxxxxx's.</p>

  <p>He has also featured on the major British television networks, including 
    the sucker's series "Tricks and Tracks".<br>
    <br>
    In 1988 Russ was approached to star in a new illusion show called "Mystique". 
    It ran for seven years and saw Russ involved in producing and directing all 
    of the illusion sequences in the show. Following this Russ created his own 
    illusion show, "The Russ Stevens Theatre of Illusion". This production 
    toured the UK and was taken over to Germany in 1998 for a six-month season. 
    This proved to be so succesful that he was asked to return the following year 
    for another run lasting over seven months. These two productions alone were 
    seen by over 250,000 people.</p>
  <p>In between all of this Russ has also managed to fit in appearances for major 
    blue-chip clients throughout Europe. From a cabaret version of his show, to 
    an appearance of the latest BMW 8 series, Russ is established as the person 
    to approach for your next major product launch or company event. Corporate 
    venues visited so far include The Dorchester, The Grosvenor, The Ritz, The 
    London Hilton, The Savoy and just about every other prestigious major hotel 
    in the UK.</p>
  <p>Recent tours have seen Russ visit Italy, Denmark, Russia, Germany, Spain, 
    Australia (twice in three weeks!), USA and Barbados, where a whole new audience 
    have been able to appreciate the magic of Cocotte.</p>
  <p> <br>

  </p></div>

<div id="Layer1" style="position:absolute; left:18px; top:276px; width:245px; height:204px; z-index:2"> 
  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="209" height="209">
    <param name="movie" value="http://img8.imageshack.us/img8/4978/lastcoco9mf.swf">
    <param name="quality" value="high">
    <embed src="http://img8.imageshack.us/img8/4978/lastcoco9mf.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="209" height="209"></embed></object>
</div>
<div id="Layer2" style="position:absolute; left:18px; top:502px; width:237px; height:221px; z-index:3"><a href="http://imageshack.us"><img src="http://img8.imageshack.us/img8/256/tof4jw.jpg" border="0" width="235" alt="Image Hosted by ImageShack.us" /></a></div>
<div id="Layer3" style="position:absolute; left:18px; top:737px; width:237px; height:176px; z-index:4"><a href="http://imageshack.us"><img src="http://img8.imageshack.us/img8/256/tof4jw.jpg" border="0" width="235" alt="Image Hosted by ImageShack.us" /></a></div>
<div id="Layer4" > 
  <p><font color="#CCFF00">Ceci est un magnifique footer, finement &eacute;labor&eacute; 
    et bien en place ! ! ! ! ! </font></p>

  <p>&nbsp;</p>
  <p>&nbsp;</p>
  </div>
<div id="Layer5" style="position:absolute; left:382px; top:579px; width:258px; height:197px; z-index:5"> 
</div>
</body>
</html>

Modifié par Hum (21 Nov 2005 - 20:04)
Salut tout le monde,
Merci de vos réponses concernant le flash.
navré d'avoir posté à la va vite, je me documente ici depuis hier et j'apprend la consctruction d'une page conforme avec bonheur. Je m'éclate. Je dois dire que les articles sont tres bien expliqués avec de l'humour en prime!
Juste un truc, pour valider ma page il a fallut que j'imbrique mes <br /> dans les <p>, c'est normal?
Vive Alsa ! ! ! !
Hum
Administrateur
Hum a écrit :
Juste un truc, pour valider ma page il a fallut que j'imbrique mes <br /> dans les <p>, c'est normal?

Non, tu as un exemple précis ?
Ben si... enfin ça dépend. Tu ne peux pas avoir de <br /> dépendant directement de <body>. C'est peut-être pour ça que tu as eu des erreurs.
Raphael a écrit :

Non, tu as un exemple précis ?


Ben plus maintenant vu que j'ai corrigé pour que ça passe.
Mais tout les <br /> "tout seul" étaient listé en erreur.
Maintenant après reflexion ça me parait logique: un retour à la ligne fait parti d'un paragraphe. Mais c'est ma vision.
Merci.
Modérateur
Mais ces br, ils servent à quoi exactement ? Si tu les utilise pour créer un espace visuel entre des éléments, il vaut mieux utiliser les marges et paddings CSS.

Il faudrait que tu nous donne un exemple du contexte dans lequel ils sont utilisés, parce que la validité du code n'est pas tout, il y a la sémantique aussi. Smiley cligne
Modifié par Merkel (16 Nov 2005 - 22:20)
Merkel a écrit :
Mais ces br, ils servent à quoi exactement ? Si tu les utilise pour créer un espace visuel entre des éléments, il vaut mieux utiliser les marges et paddings CSS.

Ok, merci. Les br me servaient pour un créer un espace visuel.

Merkel a écrit :

... il y a la sémantique aussi. Smiley cligne

Flute, je me rappel plus, c'est quoi la sémantique s'il te plait brièvement.

Merci
Smiley biggrin