Search the Community
Showing results for tags 'OL'.
-
Dear, I would like to put an image in a <ol> list. But the w3c validator say that we cannot put an image as a child. How i can do ? i try with figure but no way :/ This not a screening issue, it's just for the validation Thanks in advance, Error: Element img not allowed as child of element ol in this context. (Suppressing further errors from this subtree.) From line 60, column 3; to line 60, column 104 >.</li>↩ <img class="ombre" src="http://www.actunet.org/astuces/win10/images/44-2.jpg" alt="Système" />↩ <ol> <li>Allez dans le mneu <b>Démarrer</b>.</li> <li>Cliquez sur la roue crantée <b>Paramètres</b>.</li> <figure> <img src="http://www.actunet.org/astuces/win10/images/44-1.jpg" alt="Démarrer et paramètres" > <figcaption>Fig.1 - Parametres</figcaption> </figure> <li>dans <i>Paramètres</i>, cliquez sur <b>Système</b>.</li> <img class="ombre" src="http://www.actunet.org/astuces/win10/images/44-2.jpg" alt="Système" /> <p>Vous souhaitez le thème sombre ? <a href="http://www.actunet.org/astuces/win10/42-activerthemesombre.php" target=_blank>cliquez ici.</a> <li>Dans le menu de gauche, cliquez sur <b>Notifications et actions</b>.</li> <img class="ombre" src="http://www.actunet.org/astuces/win10/images/44-3.jpg" alt="Notifications & actions" /> <li>Décochez la case : <b>Afficher les notifications dans l'écran de vérrouillage</b>.</li> <img class="ombre" src="http://www.actunet.org/astuces/win10/images/44-4.jpg" alt="Decocher les notifications" /> <p>Les notifications seront à partir de maintenant masquée lors que l'écran de verrouillage sera activé.</p> </ol>
-
I placed a few orderd lists inside another orderd list to have a nested structure. On my screen, i have what i was going for and it works perfectly and works user friendly. However, HTML validator says I have a few errors (only on my nested list). I have cut down the code to sayd code. So how should i solve this problem? Is this an error inside the validator itself? Since it seems to be working perfectly. Kind regards =D Code: