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>
hello,

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 ?

pch.

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:45 GMT