Come vedete ul e li sono stati aperti e sono stati chiusi.codice:<% sSQL="SELECT * FROM Menu WHERE Sezione= 'Studiare' order by ID ASC;" objRS.Open sSQL, objConn, 3, 3 %> <h4><%=objRS("Sezione")%></h4> <ul>[*] <%Do while not objRS.Eof ID=objRS("ID") Sezione=objRS("Sezione") Nome=objRS("Nome") %> ">-<%=objRS("Nome")%> <% objRS.movenext Loop %> <% objRS.Close %> [/list]
però il validatore del w3c mi da errore.
Error Line 145 column 10: end tag for element "li" which is not open.
The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.
If this error occured in a script section of your document, you should probably read this FAQ entry.
✉
Error Line 146 column 8: end tag for element "ul" which is not open.[/list]
il validatore praticamente mi dice che nn ho mai aperto ne ul ne li...ma come vedete invece lo aperto...dov'è che sbaglio?![]()
P.S. il doctype è <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

Rispondi quotando
