I am using this menu on my web page
<select id='menu'> <option value='1'><h1>one</h1></option> <option value='2'><h1>two</h1></option> <option value='3'><h1>three</h1></option> </select>
I would like to know why <h1>...</h1> is not working.
Thanks!!! in advance.
The
optionelement only allows text as content. Here’s the element definition: