Hallo zusammen,
hab meine Webseite prüfen und heraus kamen 34 Fehler !!
Hab es geschafft sie auf 24 zu reduzieren weiß jetzt aber nicht was noch am html code falsch sein könnte.vielleicht kann mir ja einer von euch helfen.Sag schonmal danke .
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="XHTML namespace" xml:lang="de" lang="de">
<head>
<title>Peter Pieper</title>
<link rel="shortcut icon" href="" />
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1" />
<meta name="keywords" content="Handwerkerservice Kalkar,handwerkerservice,peter pieper, stadt-handwerker,peter, stadthandwerk, handwerk, holz, kalkar, handwerk, rasenn, " />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<meta name="description" content="Peter Pieper Handwerker-Service in Kalkar,Professionell und zu fairen Preisen" />
<meta name="robots" content="all, follow" />
<meta name="revisit-after" content="5 Days" />
<meta name="author" content="Peter Pieper" />
<style type="text/css"/>
</head>
<body>
<style>
body {
background-repeat: no-repeat;
background-image: url();
background-color: #FFC;
}
body,td,th {
color: #000;
}
#Main {
position:relative;
border: 2px;
top:20px;
width:800px;
height:800px;
z-index:1;
margin-left: auto;
margin-right: auto;
border-color: #F7AE18;
}
#apDiv1 {
position:absolute;
left:36px;
top:217px;
width:100px;
height:26px;
z-index:1;
}
#apDiv2 {
position:absolute;
left:42px;
top:242px;
width:75px;
height:30px;
z-index:5;
}
#apDiv3 {
position:absolute;
left:37px;
top:296px;
width:103px;
height:27px;
z-index:8;
}
#apDiv4 {
position:absolute;
left:23px;
top:349px;
width:115px;
height:24px;
z-index:4;
}
#apDiv5 {
position:absolute;
left:25px;
top:401px;
width:112px;
height:22px;
z-index:7;
}
#apDiv6 {
position:absolute;
left:33px;
top:455px;
width:104px;
height:31px;
z-index:6;
}
#apDiv7 {
position:absolute;
left:173px;
top:158px;
width:600px;
height:580px;
z-index:1;
}
#apDiv8 {
position:absolute;
left:441px;
top:742px;
width:78px;
height:35px;
z-index:3;
}
#apDiv9 {
position:absolute;
left:7px;
top:106px;
width:191px;
height:114px;
z-index:1;
}
#apDiv10 {
position:absolute;
border:#000 thick:2px;
left:20px;
top:112px;
width:550px;
height:400px;
z-index:2;
}
</style>
<div id="Main">
<div id="apDiv2"><a href="/" alt="home" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Bild2','','Bilder/Home2.jpg',1)"><img src="Bilder/Home.jpg" name="Bild2" width="80" height="30" border="0" id="Bild2" /></a></div>
<div id="apDiv3"><a href="leistungen.html" alt="service" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Bild3','','Bilder/service2.jpg',1)"><img src="Bilder/Service.jpg" name="Bild3" width="85" height="27" border="0" id="Bild3" /></a></div>
<div id="apDiv4"><a href="Referenzen.html" alt="referenzen"onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Bild4','','Bilder/Referenzen2.jpg',1)"><img src="Bilder/Referenzen.jpg" name="Bild4" width="120" height="27" border="0" id="Bild4" /></a></div>
<div id="apDiv5"><a href="Impressum.html" alt="impressum"onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Bild5','','Bilder/Impressum2.jpg',1)"><img src="Bilder/Impressum.jpg" name="Bild5" width="120" height="30" border="0" id="Bild5" /></a></div>
<div id="apDiv6"><a href="Kontakt.php" alt="kontakt"onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Bild6','','Bilder/Kontakt2.jpg',1)"><img src="Bilder/Kontakt.jpg" name="Bild6" width="100" height="30" border="0" id="Bild6" /></a></div>
<div id="apDiv7">
<h2 align="center"> <u>Willkommen bei Peter Pieper ihr Ansprechpartner</u></h2>
<h2 align="center"><u> rund um Haus und Garten</u></h2>
<p align="center"> </p>
<h3 align="justify">Eine kompetente und preiswerte Lösung für die alltäglichen Aufgaben in Kalkar und Nordrhein-Westfalen werden zu fairen Preisen für Privat und Gewerbe angeboten.</h3>
<p align="justify"> </p>
<h3 align="justify"><strong><u>Kein langes Warten auf tatkräftige und professionelle Unterstützung bei:</u></strong></h3>
<p align="justify"> </p>
<h3 align="justify">Hausmeisterdienste, Kleinreparaturen, Service-Transporte, Rasen mähen, Bilder anbringen und zahlreichen anderen Aufgaben.</h3>
<p align="justify"> </p>
<h3 align="justify">Ob Wochentags oder am Wochenende dieser flexible u. freundliche Handwerker-Service nimmt Rücksicht auf Ihre Terminwünsche und steht Ihnen mit Rat und Tat zur Seite. </h3>
<p align="justify"> </p>
</div>
<div id="apDiv8">
<a id="1237926652" href=" type="text/javascript" language="JavaScript" src=" href="" target="_blank"><img border=0 src=">
</div>
<img src="Bilder/Main.jpg" width="800" height="800" /></div>
<h1> </h1>
</body>
</html>
Validation Output: 24 Errors
hab meine Webseite prüfen und heraus kamen 34 Fehler !!
Hab es geschafft sie auf 24 zu reduzieren weiß jetzt aber nicht was noch am html code falsch sein könnte.vielleicht kann mir ja einer von euch helfen.Sag schonmal danke .
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="XHTML namespace" xml:lang="de" lang="de">
<head>
<title>Peter Pieper</title>
<link rel="shortcut icon" href="" />
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1" />
<meta name="keywords" content="Handwerkerservice Kalkar,handwerkerservice,peter pieper, stadt-handwerker,peter, stadthandwerk, handwerk, holz, kalkar, handwerk, rasenn, " />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<meta name="description" content="Peter Pieper Handwerker-Service in Kalkar,Professionell und zu fairen Preisen" />
<meta name="robots" content="all, follow" />
<meta name="revisit-after" content="5 Days" />
<meta name="author" content="Peter Pieper" />
<style type="text/css"/>
</head>
<body>
<style>
body {
background-repeat: no-repeat;
background-image: url();
background-color: #FFC;
}
body,td,th {
color: #000;
}
#Main {
position:relative;
border: 2px;
top:20px;
width:800px;
height:800px;
z-index:1;
margin-left: auto;
margin-right: auto;
border-color: #F7AE18;
}
#apDiv1 {
position:absolute;
left:36px;
top:217px;
width:100px;
height:26px;
z-index:1;
}
#apDiv2 {
position:absolute;
left:42px;
top:242px;
width:75px;
height:30px;
z-index:5;
}
#apDiv3 {
position:absolute;
left:37px;
top:296px;
width:103px;
height:27px;
z-index:8;
}
#apDiv4 {
position:absolute;
left:23px;
top:349px;
width:115px;
height:24px;
z-index:4;
}
#apDiv5 {
position:absolute;
left:25px;
top:401px;
width:112px;
height:22px;
z-index:7;
}
#apDiv6 {
position:absolute;
left:33px;
top:455px;
width:104px;
height:31px;
z-index:6;
}
#apDiv7 {
position:absolute;
left:173px;
top:158px;
width:600px;
height:580px;
z-index:1;
}
#apDiv8 {
position:absolute;
left:441px;
top:742px;
width:78px;
height:35px;
z-index:3;
}
#apDiv9 {
position:absolute;
left:7px;
top:106px;
width:191px;
height:114px;
z-index:1;
}
#apDiv10 {
position:absolute;
border:#000 thick:2px;
left:20px;
top:112px;
width:550px;
height:400px;
z-index:2;
}
</style>
<div id="Main">
<div id="apDiv2"><a href="/" alt="home" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Bild2','','Bilder/Home2.jpg',1)"><img src="Bilder/Home.jpg" name="Bild2" width="80" height="30" border="0" id="Bild2" /></a></div>
<div id="apDiv3"><a href="leistungen.html" alt="service" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Bild3','','Bilder/service2.jpg',1)"><img src="Bilder/Service.jpg" name="Bild3" width="85" height="27" border="0" id="Bild3" /></a></div>
<div id="apDiv4"><a href="Referenzen.html" alt="referenzen"onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Bild4','','Bilder/Referenzen2.jpg',1)"><img src="Bilder/Referenzen.jpg" name="Bild4" width="120" height="27" border="0" id="Bild4" /></a></div>
<div id="apDiv5"><a href="Impressum.html" alt="impressum"onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Bild5','','Bilder/Impressum2.jpg',1)"><img src="Bilder/Impressum.jpg" name="Bild5" width="120" height="30" border="0" id="Bild5" /></a></div>
<div id="apDiv6"><a href="Kontakt.php" alt="kontakt"onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Bild6','','Bilder/Kontakt2.jpg',1)"><img src="Bilder/Kontakt.jpg" name="Bild6" width="100" height="30" border="0" id="Bild6" /></a></div>
<div id="apDiv7">
<h2 align="center"> <u>Willkommen bei Peter Pieper ihr Ansprechpartner</u></h2>
<h2 align="center"><u> rund um Haus und Garten</u></h2>
<p align="center"> </p>
<h3 align="justify">Eine kompetente und preiswerte Lösung für die alltäglichen Aufgaben in Kalkar und Nordrhein-Westfalen werden zu fairen Preisen für Privat und Gewerbe angeboten.</h3>
<p align="justify"> </p>
<h3 align="justify"><strong><u>Kein langes Warten auf tatkräftige und professionelle Unterstützung bei:</u></strong></h3>
<p align="justify"> </p>
<h3 align="justify">Hausmeisterdienste, Kleinreparaturen, Service-Transporte, Rasen mähen, Bilder anbringen und zahlreichen anderen Aufgaben.</h3>
<p align="justify"> </p>
<h3 align="justify">Ob Wochentags oder am Wochenende dieser flexible u. freundliche Handwerker-Service nimmt Rücksicht auf Ihre Terminwünsche und steht Ihnen mit Rat und Tat zur Seite. </h3>
<p align="justify"> </p>
</div>
<div id="apDiv8">
<a id="1237926652" href=" type="text/javascript" language="JavaScript" src=" href="" target="_blank"><img border=0 src=">
</div>
<img src="Bilder/Main.jpg" width="800" height="800" /></div>
<h1> </h1>
</body>
</html>
Validation Output: 24 Errors
- <LI class=msg_err>
The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
<LI class=msg_err>
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).
<LI class=msg_err>
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. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
<LI class=msg_err>
The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
<LI class=msg_err>
The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
<LI class=msg_err>
The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
<LI class=msg_err>
The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
<LI class=msg_err>
The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
<LI class=msg_err>
It is possible that you violated the naming convention for this attribute. For example, id and name attributes must begin with a letter, not a digit.
<LI class=msg_err>
<LI class=msg_err>
The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
<LI class=msg_err>
The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
<LI class=msg_err>
<LI class=msg_err>
<LI class=msg_err>
<LI class=msg_err>
<LI class=msg_err>
<LI class=msg_err>
<LI class=msg_err>
<LI class=msg_err>
<LI class=msg_err>
<LI class=msg_err>
<LI class=msg_err> -