W3C home > Mailing lists > Public > www-html@w3.org > August 2003

Re: Icon in Select Box

From: Johannes Koch <koch@w3development.de>
Date: Tue, 05 Aug 2003 10:32:12 +0200
Message-ID: <3F2F6B8C.1080003@w3development.de>
To: www-html@w3.org

Sameer Singla wrote:
> Is it possible to add a icon in an select box. I mean adding an icon in each option for a slect box in HTML

Did you take a look at the HTML specification? It says:

<!ELEMENT OPTION - O (#PCDATA)         -- selectable choice -->

So the only element content for the option element can be text.
Johannes Koch
In te domine speravi; non confundar in aeternum.
                             (Te Deum, 4th cent.)
Received on Tuesday, 5 August 2003 04:32:26 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 30 April 2020 16:20:50 UTC