Verfasst: 23.01.2015, 16:47
...machen unvaliden Code. Wie umgeht man das? Ich benötige die Liste in der Tabelle.
[PHP]
<!DOCTYPE html>
<html>
<head>
<titel>Testtabelle</title>
<meta charset="utf-8">
</head>
<body>
<table>
<thead>
<tr>
<th>Kugel</th>
<th>Würfel</th>
</tr>
</thead>
<tfoot>
<tr>
<td>rund</td>
<td>eckig</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>
<list> <!--(Validationsfehler)-->
<ol>
<li>Volumen</li>
<li>Radius</li>
</ol>
</list>
</td>
<td>
<list> <!--(Validationsfehler)-->
<ol>
<li>Volumen</li>
<li>Kantenlänge</li>
</ol>
</list>
</td>
</tr>
</tbody>
</table>
</body>
</html>
[/PHP]
Validationsfehler: Element list not allowed as child of element td in this context. (Suppressing further errors from this subtree.)
[PHP]
<!DOCTYPE html>
<html>
<head>
<titel>Testtabelle</title>
<meta charset="utf-8">
</head>
<body>
<table>
<thead>
<tr>
<th>Kugel</th>
<th>Würfel</th>
</tr>
</thead>
<tfoot>
<tr>
<td>rund</td>
<td>eckig</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>
<list> <!--(Validationsfehler)-->
<ol>
<li>Volumen</li>
<li>Radius</li>
</ol>
</list>
</td>
<td>
<list> <!--(Validationsfehler)-->
<ol>
<li>Volumen</li>
<li>Kantenlänge</li>
</ol>
</list>
</td>
</tr>
</tbody>
</table>
</body>
</html>
[/PHP]
Validationsfehler: Element list not allowed as child of element td in this context. (Suppressing further errors from this subtree.)