html menu标签
翻译结果:
英 [ˈmenju:] 美 [ˈmɛnju, ˈmenju]
n.菜单;菜,菜肴
复数: menus
html menu标签 语法
作用:定义命令的列表或菜单。
说明:用于上下文菜单、工具栏以及用于列出表单控件和命令。
注释:目前所有主流浏览器都不支持 <menu> 标签。请使用 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>
运行实例 »
点击 "运行实例" 按钮查看在线实例
热门推荐
- 电脑出现boot menu怎么解决
- menu是什么意思
- boot menu怎么设置
- html5 menu标签的具体定义和html5menu标签的用法详细解析
- 带你简单了解AntDesign Vue中Menu菜单的用法
- html menu标签怎么用
最新文章
HTML 相关词典