下拉菜单中的<h1>有问题吗?

Pra*_*are 0 html html-select

我在我的网页上使用此菜单

<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>
Run Code Online (Sandbox Code Playgroud)

我想知道为什么<h1>...</h1>不工作.

谢谢!!!提前.

Gum*_*mbo 5

option元素仅允许文本作为内容.这是元素定义:

<!ELEMENT OPTION - O (#PCDATA)         -- selectable choice -->
Run Code Online (Sandbox Code Playgroud)