Patrick H. Lauke wrote:
On Mon, Feb 23, 2009 at 3:39 PM, Robert O'Rourke <r...@sanchothefat.com> wrote:
I don't really know how toread the DTDs properly
Yeah, it's obscure for sure.
<!ELEMENT BUTTON
<http://www.w3.org/TR/html401/interact/forms.html#edef-BUTTON> - -
(%flow; <http://www.w3.org/TR/html401/sgml/dtd.html#flow>)*
-(A|%formctrl;
<http://www.w3.org/TR/html401/sgml/dtd.html#formctrl>|FORM|FIELDSET)
-- push button -->
Using Toolman's excellent 2005 article "The Art of Reading a DTD"
http://www.autisticcuckoo.net/archive.php?id=2005/05/01/art-of-reading-dtd
I think the above can be decyphered as:
<!ELEMENT BUTTON - -
(%flow;)* -(A|%formctrl;|FORM|FIELDSET)
-- push button -->
opening and closing tags are required, it can contain any number of
flow elements (block or inline), but can't CONTAIN links, other form
controls, forms or fieldsets.
P
Thanks Patrick, that's a really useful link.
So I guess it's just up to John whether to use javascript or regular
links now.
-Rob
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
*******************************************************************