为什么 caniuse 认为html标记menu
“在所有浏览器中得到了有效支持”(http://caniuse.com/#search=HTML4%20elements%20(well-supported%20subset)?
根据Mozilla网站的说法,网络浏览器的支持相当差(https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu#Browser_compatibility)。
HTML menu
标记是否只是感知if(if)是否包含嵌套的menuitem
标记(即使根据caniuse也很少支持:http://caniuse.com/#feat=menu)?
感谢。
<p>The following html tag <i>menu</i> actually works in all web browser: is this (without nested <i>menuitem</i> tag) a "proper" use of the tag?</p>
<menu>
<li>1</li>
<li>2</li>
<li><button>button</button></li>
</menu>
答案 0 :(得分:0)
我在caniuse支持页面上得到了答案(谢谢 @mplungjan的建议):https://github.com/Fyrd/caniuse/issues/3121#issuecomment-274061971
我原始问题的第一个链接(&#34;菜单元素得到良好支持&#34;)是指HTML4。