Tee G.Peng:
Is it legal to place a div in <.li>?

You'll find the answers to such questions here:

http://htmlhelp.com/reference/html40/
http://htmlhelp.com/reference/html40/lists/li.html

If you learn to read DTD:s the same information is in them.
Here:
http://www.w3.org/TR/xhtml1/dtds.html#a_dtd_XHTML-1.0-Strict
you can find this line:
<!ELEMENT li %Flow;>
in the DTD, that states that %flow; goes inside <li>, and following the link from %flow; provides this information:
<!ENTITY % Flow "(#PCDATA | %block; | form | %inline; | %misc;)*">

A tutorial on DTD writing/reading can be found here:
http://www.w3schools.com/dtd/


/AndersN


******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************

Reply via email to