soulxheart
Mitglied
Hallo zusammen
Ich habe mir eine kleine Design-Vorlage geschrieben und wollte sie eben mit dem W3C Markup Validation Service validieren lassen. Ich bekomme da fünf Errors angezeigt. Jedoch finde ich den Fehler einfach nicht.
Das ist das Gerüst der Seite:
Und das sind die fünf Fehler, die ich angezeigt bekomme:
Könnt ihr mir da vielleicht weiterhelfen?
Grüsse
Ich habe mir eine kleine Design-Vorlage geschrieben und wollte sie eben mit dem W3C Markup Validation Service validieren lassen. Ich bekomme da fünf Errors angezeigt. Jedoch finde ich den Fehler einfach nicht.
Das ist das Gerüst der Seite:
HTML:
<!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">
<head>
<link rel="stylesheet" type="text/css" href="style.css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>02_Design</title>
</head>
<body>
<div class="header">
02_Design
</div>
<div id="navigation">
<ul>
<li class="smalltitle">Punkt 1</li>
<li><a href="#">> Punkt 1.1</a></li>
<li><a href="#">> Punkt 1.2</a></li>
<li><a href="#">> Punkt 1.3</a></li>
<li><a href="#">> Punkt 1.4</a></li>
<br />
<li class="smalltitle">Punkt 2</li>
<li><a href="#">> Punkt 2.1</a></li>
<li><a href="#">> Punkt 2.2</a></li>
</ul>
</div>
<div id="content">
<div>
Das hier ist Inhalt.
</div>
</div>
</body>
</html>
Und das sind die fünf Fehler, die ich angezeigt bekomme:
-
<br /> ✉ -
<li class="smalltitle">Punkt 2</li> ✉
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>"). -
<li><a href="#">> Punkt 2.1</a></li> ✉
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>"). -
<li><a href="#">> Punkt 2.2</a></li> ✉
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>"). -
</ul> ✉
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">". -
<br />
Könnt ihr mir da vielleicht weiterhelfen?
Grüsse