Bonjour,
J'aime bien essayer de coder proprement et lorsque je code en html je vérifie toujours avec le validator.
Mais la j'ai des erreurs que je ne comprends pas.
Citation:
Line 43, Column 14: document type does not allow element "h1" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
Citation:
Line 48, Column 14: document type does not allow element "h1" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
Citation:
Line 53, Column 14: document type does not allow element "h1" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
Logiquement cette erreur apparait lorsque l'ont encastre mal les balises
Code:
<h1><span>
</h1></span>
Mais la je ne crois pas que cela soit mon cas.
Citation:
Line 171, Column 11: end tag for "span" omitted, but OMITTAG NO was specified
Citation:
Line 171, Column 5: start tag was here
Citation:
Line 171, Column 11: end tag for "li" omitted, but OMITTAG NO was specified
Citation:
Line 170, Column 4: start tag was here
Citation:
Line 171, Column 11: end tag for "ul" omitted, but OMITTAG NO was specified
Celle ci m'indique que j'ai oublié de fermer une balise mais pareil je ne trouve rien.
Citation:
Line 147, Column 7: start tag was here
Le code :
Code:
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
|
</head>
<body>
<div id="nav_tabs">
<div class="color_wrapper">
<div class="wrapper">
<div id="header"> <a href="#" rel="home_page" class="selected">
<!-- DAY CHANGE -->
<script type="text/javascript">
//<![CDATA[
today = new Date();
day = today.getDay();
randomVar = Math.round(Math.random()*8);
arrayBanner = new Array("ph_header_SC1.jpg", "ph_header_SC2.jpg", "ph_header_SC3.jpg", "ph_header_SC4.jpg", "ph_header_SC5.jpg",
"ph_header_AC1.jpg", "ph_header_AC2.jpg", "ph_header_AC3.jpg", "ph_header_AC4.jpg");
document.write("<img alt='Banner' src='images/header/" + arrayBanner[randomVar] + "'>");
//]]>
</script>
</a> </div>
</div>
<div class="db_line"></div>
<div id="navigation" >
<div class="wrapper">
<div id="col_1_work"><a href="#work_page" class="scrollpage" rel="work_page">
<h1>work<span>*</span></h1>
</a>
<p>Everything</p>
</div>
<div id="col_1_about"><a href="#about_page" class="scrollpage" rel="about_page">
<h1>about<span>*</span></h1>
</a>
<p>How ...</p>
</div>
<div id="col_1_hireme"><a href="#hireme_page" class="scrollpage" rel="hireme_page">
<h1>hire me<span>*</span></h1>
</a>
<p>Say hello</p>
</div>
<div class="clear"></div>
</div>
</div>
<div class="clear"></div>
<div class="db_line_2"></div>
</div>
</div> |
La suite dans mon autre message