<div> and <select> tags
Can I have a <DIV> within an HTML <SELECT> tag? e.g.: <select tabindex="2" name="agegrp" id="agegrp" > <div> <option value="-1">No preference</option> </div> </select> From the specification : <!ELEMENT SELECT - - (OPTGROUP|OPTION)+ -- option selector --> i.e. There is an element called "SELECT", the start tag is required, the end tag is required. It's children can be OPTGROUP elements and/or OPTION elements and there must be at least one of them. Since a DIV is not an OPTGROUP or an OPTION, the answer is no . No. Nope. Niet. No. And there is no reason to. No, but you may be interested in the