zoukankan      html  css  js  c++  java
  • HTML5学习笔记(<command>,<details>,<dialog>)

    <command>
      目前,主流浏览器都不支持 <command> 标签。
      注释:只有 IE 9 支持 <command> 标签,其他之前版本或者之后版本的 IE 浏览器不支持 <command> 标签。
      想要了解的可以去菜鸟教程查看。

    <details>
      目前,只有 Chrome 和 Safari 6 支持 <details> 标签。
      <details>需要和<summary>一起使用,<summary>同样是只有 Chrome 和 Safari 6 支持。
    例子:

    <details>
    <summary>Copyright 1999-2011.</summary>
    <p> - by Refsnes Data. All Rights Reserved.</p>
    <p>All content and graphics on this web site are the property of the company Refsnes Data.</p>
    </details>

    结果:

    open属性(就是让原本隐藏的内容显示出来而已)
    <details open>这样既可。

    open图片:

    <dialog>
    目前,只有 Chrome 和 Safari 6 支持 <dialog> 标签。
    <dialog> 标签定义一个对话框、确认框或窗口。

    例子:

    <table border="1">
    <tr>
    <th>January <dialog open>This is an open dialog window</dialog></th>
    <th>February</th>
    <th>March</th>
    </tr>
    <tr>
    <td>31</td>
    <td>28</td>
    <td>31</td>
    </tr>
    </table>

    结果:

    它同样拥有open属性。

  • 相关阅读:
    [转]王垠的过去和现状
    支持向量机(SVM)基础
    C语言编程心得
    Fortran学习心得
    gdb使用心得
    大道至简第一章读后感
    第一个音符
    Exercise 1.20 最大公约数算法
    Exercise 1.19 Fast Fibonacci
    Exercise 1.16 1.17 1.18
  • 原文地址:https://www.cnblogs.com/smileToMe/p/7822559.html
Copyright © 2011-2022 走看看