本文摘自PHP中文网,作者寻∝梦,侵删。
这边文章主要的讲述了html5 menu标签的定义和用法实例,有实例和实例结果在,这让我们学习的时候更加简单了,所以,请认真的阅读本篇关于html5 menu标签的文章吧
html5 menu标签的定义和用法:
<menu> 标签定义命令的列表或菜单。
<menu> 标签用于上下文菜单、工具栏以及用于列出表单控件和命令。
HTML5 <menu> 标签实例
带有两个菜单按钮 ("File" 和 "Edit") 的工具栏,每个按钮都包含带有一系列选项的下拉列表:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | < menu type = "toolbar" >
< li >
< menu label = "File" >
< button type = "button" onclick = "file_new()" >New...</ button >
< button type = "button" onclick = "file_open()" >Open...</ button >
< button type = "button" onclick = "file_save()" >Save</ button >
</ menu >
</ li >
< li >
< menu label = "Edit" >
< button type = "button" onclick = "edit_cut()" >Cut</ button >
< button type = "button" onclick = "edit_copy()" >Copy</ button >
< button type = "button" onclick = "edit_paste()" >Paste</ button >
</ menu >
</ li >
</ menu >
|
HTML5中的menu标签的两种使用方法:
阅读剩余部分
相关阅读 >>
html5 history模式是什么
深入解析html5 内联框架--iframe
htm5新增的表单元素keygen标签的用法和属性介绍
html5 input新增type属性color颜色拾取器的实例代码
必会的移动端html5的基础知识点
浅谈h5增强了哪些页面元素
html5与html的区别有哪些
html5的头部head的详解
html5新增加的标签有哪些
html5 canvas画布的宽高为什么写在<canvas>标签里的详细介绍
更多相关阅读请进入《menu》频道 >>
人民邮电出版社
本书对 Vue.js 3 技术细节的分析非常可靠,对于需要深入理解 Vue.js 3 的用户会有很大的帮助。——尤雨溪,Vue.js作者
转载请注明出处:木庄网络博客 » html5 menu标签的具体定义和html5menu标签的用法详细解析