• Jetzt anmelden. Es dauert nur 2 Minuten und ist kostenlos!

Code nicht valide - warum?

  • Ersteller Ersteller Tobias
  • Erstellt am Erstellt am
Status
Für weitere Antworten geschlossen.
T

Tobias

Guest
Meine angezeigten Fehler:
error.png
Line 22, Column 6: end tag for "div" omitted, but OMITTAG NO was specified.</body>
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

info.png
Line 20, Column 0: start tag was here.<div id="foot"> <li class="msg_err">
error.png
Line 22, Column 7: XML Parsing Error: Opening and ending tag mismatch: div line 20 and body.</body>
error.png
Line 23, Column 7: XML Parsing Error: Opening and ending tag mismatch: body line 10 and html.</html>
error.png
Line 23, Column 7: XML Parsing Error: Premature end of data in tag html line 2.</html>
Mein Code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title> </title>
<style type="text/css" media="screen">
@import url(style.css);
</style>
</head>
<body>
<div id="thebox">
<div id="logo"> </div>
<div id="nav">
Menu
</div>
<div id="content">
Inhalt
</div>
</div>
<div id="foot">
Footer
</body>
</html>
 
Zuletzt bearbeitet von einem Moderator:
Status
Für weitere Antworten geschlossen.
Zurück
Oben