W3C home > Mailing lists > Public > www-html@w3.org > March 2001

XHTML option label

From: Peter Chiocchetti <girbal@tacheles.de>
Date: Sat, 10 Mar 2001 08:52:54 -0500 (EST)
To: www-html@w3.org
Message-Id: <20010310135221.A74C64BF@hal.fake.net>

just stumbled across something quite disturbing with the xhtml
spec; it allows for selects in forms but not for putting
labels on them.

mozilla consequently displays the select with the correct
number of options, but empty labels. this is just stupid, isnt
it ?


validator input:
<select name="Zahlungsart">
  <option value="Uberweisung" />Uberweisung

validator output:
    *  Line 27, column 32:

      <option value="Uberweisung" />Uberweisung

      Error: text is not allowed here; try wrapping the text
      in a more descriptive container
Received on Saturday, 10 March 2001 15:54:26 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:56 UTC