更新时间:2022-12-01 09:21:19
从规范:
From the specification:
<!ELEMENT SELECT - - (OPTGROUP|OPTION)+ -- option selector -->
即有一个名为SELECT的元素,开始标记是必需的,结束标记是必需的。它的孩子可以是OPTGROUP元素和/或OPTION元素,并且必须至少有一个元素。
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.
由于DIV不是OPTGROUP或OPTION,答案是否。
Since a DIV is not an OPTGROUP or an OPTION, the answer is no.