XHTML option label

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 UTC