On 21 Nov 2007, at 05:12, David Hucklesby wrote:
Trying to help a friend with their form markup, I suggested they
look up the W3C specifications. Their question was "does the input
tag require a closing "</input>". I told them categorically "no" but
was embarrassed to see this in the W3C specs[1]:
<!ELEMENT INPUT - O EMPTY -- form control -->
Now, I read that as "closing tag optional." So I am wrong. Or am I?
From: http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.3
'The hyphen and the following "O" indicate that the end tag can be
omitted, but together with the content model "EMPTY", this is
strengthened to the rule that the end tag must be omitted.'
--
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************