html menu标签怎么用


当前第2页 返回上一页

html menu标签 示例

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

<!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>

以上就是html menu标签怎么用的详细内容,更多文章请关注木庄网络博客

返回前面的内容

相关阅读 >>

浏览器中5种常用的事件解析

Html页面如何实现3秒之后自动跳转

Html img不显示图片怎么办

Html怎么设置锚点

手把手教你使用img标签添加图片效果(知识)

Html怎么添加css样式?

如何实现Html不显示下拉列表的箭头

Html的元素水平垂直居中应该怎么设置

小白首次个人网页上线流程

Html+css+js实现星空旋转和文字淡入效果(附代码)

更多相关阅读请进入《Html》频道 >>




打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...