[WSG] nesting in list

2005-03-21 Thread Alan Trick




Does anyone know what is allowed to be nested under a list (ul,ol,dl)
in XHTML? I read one resource, but all it said is that ul
and ol require 1 li, and dl
requires at least one dt, and one dl.
Alan Trick




Re: [WSG] nesting in list

2005-03-21 Thread Jonathan T. Sage
at the very least, I believe any inline element can be nested.  Some
block-level elements may be as well I think.

~j



On Mon, 21 Mar 2005 12:32:33 -0500, Alan Trick [EMAIL PROTECTED] wrote:
  Does anyone know what is allowed to be nested under a list (ul,ol,dl) in
 XHTML?  I read one resource, but all it said is that ul and ol require 1 li,
 and dl requires at least one dt, and one dl.
  Alan Trick
  


-- 
Jonathan T. Sage
Theatrical Lighting / Set Designer
Professional Web Design

[HTTP://www.JTSage.com]
[HTTP://design.JTSage.com]
[EMAIL PROTECTED]
**
The discussion list for  http://webstandardsgroup.org/

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



Re: [WSG] nesting in list

2005-03-21 Thread Sigurd Magnusson
Looking at the W3C for XHTML 1.1;
http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_listmodule
It says that LI and DDs both are part of the Flow content model, which is 
the same as DIV, so this looks to confirm what my feeling was... they can 
contain any nested element, including further DLs, ULs and OLs. DTs are like 
H1s; and can only contain inline elements.

Siggy
- Original Message - 
From: Jonathan T. Sage [EMAIL PROTECTED]
To: wsg@webstandardsgroup.org
Sent: Tuesday, March 22, 2005 5:52 AM
Subject: Re: [WSG] nesting in list


at the very least, I believe any inline element can be nested.  Some
block-level elements may be as well I think.
~j

On Mon, 21 Mar 2005 12:32:33 -0500, Alan Trick [EMAIL PROTECTED] 
wrote:
 Does anyone know what is allowed to be nested under a list (ul,ol,dl) in
XHTML?  I read one resource, but all it said is that ul and ol require 1 
li,
and dl requires at least one dt, and one dl.
 Alan Trick


--
Jonathan T. Sage
Theatrical Lighting / Set Designer
Professional Web Design
[HTTP://www.JTSage.com]
[HTTP://design.JTSage.com]
[EMAIL PROTECTED]
**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**


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