Error: ul not allowed as child of element ul
Bonjour,
J’ai
Code:
<ul class="niveau2">
</ul>
et
Code:
1 2 3 4 5 6 7 8 9 10 11 12
| ul {text-align: center;
display: inline-block;
}
/* niveau2 */
ul.niveau2 {
display: inline-block;
list-style: none;
list-style-type: none;
vertical-align : top;
margin: 0 20px 0 20px;
} |
On me dit en test de validationw3c :
Citation:
Error: Element ul not allowed as child of element ul in this context. (Suppressing further errors from this subtree.)
From line 44, column 1; to line 44, column 20
ontact-->↩<ul class="niveau2">↩ <li>
Contexts in which element ul may be used:
Where flow content is expected.
Content model for element ul:
Zero or more li and script-supporting elements.
Cela veut dire quoi ?
d'avance merci