In this example, the sub list "HTML Stuff" starts out expanded,
and the other two sub lists start out collapsed.
---------------------------------------------------------------
<UL FOLD=NO LABEL="W3 Designs">
<LI><UL FOLD=NO LABEL="HTML Stuff">
<LI>Stuff a.
<LI>Stuff b.
</UL>
<LI><UL FOLD=YES LABEL="HTTP Stuff">
<LI>Stuff a.
<LI>Stuff b.
</UL>
<LI><UL FOLD=YES LABEL="More Stuff">
<LI>Stuff.
<LI>Stuffy.
</UL>
</UL>
---------------------------------------------------------------
The FOLD attribute specifies that the list is foldable. And the value
of that attribute specifies whether or not to fold the intial layout
of the list.
It should also take another attribute "LABEL" so that one can tell what
the folded list contains. Later on, maybe the <UL> could take the HREF
(or perhaps SRC?) attribute for pointing to the content of the list
(fetch the content of the list only when expanded).
This FOLD attribute would be good definitely for list elements like
<UL> and <OL>. But it could be useful for things like <XMP> etc as well.
Comments?
-Pei