2 fejl ved W3C-validering
Hej.Mon der er en venlig sjæl, som vil hjælpe mig med 2 valideringsfejl, som jeg får på denne nedenstående kode:
Koden klipper jeg ind her:
http://validator.w3.org/check
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="da" lang="da">
<head><title>Kalender</title>
<meta http-equiv="content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="css/style.php" type="text/css" />
<script type="text/javascript" src="menu/jquery-1.2.6.pack.js"></script>
<script type="text/javascript" src="menu/ddaccordion.js"></script>
<script type="text/javascript">
ddaccordion.init({
headerclass: "submenuheader", //Shared CSS class name of headers group
contentclass: "submenu", //Shared CSS class name of contents group
revealtype: "click", //Reveal content when user clicks or onmouseover the header? Valid value: "click" or "mouseover
mouseoverdelay: 200, //if revealtype="mouseover", set delay in milliseconds before header expands onMouseover
collapseprev: true, //Collapse previous content (so only one open at any time)? true/false
defaultexpanded: [], //index of content(s) open by default [index1, index2, etc] [] denotes no content
onemustopen: false, //Specify whether at least one header should be open always (so never all headers closed)
animatedefault: false, //Should contents open by default be animated into view?
persiststate: true, //persist state of opened contents within browser session?
toggleclass: ["", ""], //Two CSS classes to be applied to the header when its collapsed and expanded, respectively ["class1", "class2"]
togglehtml: ["suffix", "<img src='plus.gif' alt='' class='statusicon' />", "<img src='minus.gif' alt='' class='statusicon' />"], //Additional HTML added to the header when its collapsed and expanded, respectively ["position", "html1", "html2"] (see docs)
animatespeed: "fast", //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
oninit:function(headers, expandedindices){ //custom code to run when headers have initalized
//do nothing
},
onopenclose:function(header, index, state, isuseractivated){ //custom code to run whenever a header is opened or closed
//do nothing
}
})
</script>
</head>
<body>
<div id="container">
<div id="topDiv"><h1>Kalendersystem</h1></div>
<div id="leftDiv">
<div class="glossymenu">
<a class="menuitem" href="index.php">Forside</a>
<a class="menuitem submenuheader" href="http://www.kalendersystem.dk" >Ret tekster</a>
<div class="submenu">
<ul>
<li><a href="side1.php">Forside</a></li>
<li><a href="side2.php">Side 2</a></li>
<li><a href="side3.php">Side 3</a></li>
</ul>
</div>
<a class="menuitem submenuheader" href="http://www.kalendersystem.dk" >Vedligehold</a>
<div class="submenu">
<ul>
<li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C1/">Backup databaser</a></li>
<li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C2/">Restore databaser</a></li>
</ul>
</div>
<a class="menuitem submenuheader" href="http://www.kalendersystem.dk" >Brugeradm.</a>
<div class="submenu">
<ul>
<li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C1/">Opret bruger</a></li>
<li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C2/">Ret/slet bruger</a></li>
<li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C2/">ændre password</a></li>
</ul>
</div>
</div>
</div>
</div>
</body>
</html>
