On Thu, 10 Aug 2000 06:55:29 -0400 (EDT), "Dave Mertens" <dmertens@ism.nl> wrote: >I have possibly found an error in the strict xhtml 1.0 DTD. >Buttons in forms can be set in 2 ways: ><input type="submit" name="action" value="send" /> ><button type="submit" name="action" value="send" /> >Both give the same result. There i conclude that the input-types are only >there for compibilty, so that part is transitional and not strict. >If i'm wrong what's the differents between the two tags? I'm may be missing some part of your real question here, but there is a difference between the two elements for sure. From the dtd... <!ELEMENT input EMPTY> <!-- form control --> <!ELEMENT button %button.content;> <!-- push button --> See that 'EMPTY' versus 'button.content' ? <button type="submit" name="action" value="send">some content for a button</button> ...would be a way to use the 'button' element but that would be invalid for 'input' The description of the two elements can be read in the HTML4.01 rec. -- Jan Roland Eriksson <jrexon@newsguy.com> <URL:http://member.newsguy.com/%7Ejrexon/>Received on Thursday, 10 August 2000 11:48:22 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:49:22 GMT