Help - Search - Members - Calendar
Full Version: Sup inside of OPTION tag
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
Sir Shurf Lonely-Lockly
Hi all

I need to put a
CODE
<sup>
tag inside of an
CODE
<OPTION>
tag... but I see that it simply ignore the SUP tag... what can I do???

my code is:

CODE

    <select name="parent" id='parent_cat'>
    <option value="0">Select</option>
    <option value="1" >0.25 mm<sup>2</sup></option>
    </select>


Any help please...
pandy
http://htmlhelp.com/reference/html40/forms/option.html
http://htmlhelp.com/reference/html40/entities/latin1.html

As you can read if you follow the first link above, OPTION can only contain plain text, including enities. No tags. So...

HTML
<option value="1">0.25 mm&#178;</option>
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.