作用:定义命令的列表或菜单。
说明:用于上下文菜单、工具栏以及用于列出表单控件和命令。
注释:目前所有主流浏览器都不支持 5c0e96d12fc7501cef2ae2efde646ee0 标签。请使用 css 来设置菜单列表的样式!
html menu标签 示例
<!doctype html><html><body><menu type="toolbar"> <li> <menu label="file"> <button type="button" onclick="file_new()">新建</button> <button type="button" onclick="file_open()">打开</button> <button type="button" onclick="file_save()">保存</button> </menu> </li> <li> <menu label="edit"> <button type="button" onclick="edit_cut()">剪切</button> <button type="button" onclick="edit_copy()">复制</button> <button type="button" onclick="edit_paste()">粘贴</button> </menu> </li></menu><p><b>注释:</b>所有主流浏览器均不支持 menu 元素。</p></body></html>
以上就是menu是什么意思的详细内容。