html - 哪些网络浏览器支持 HTML5 属性 sortable?

标签 html

我在 Consortium 的官方网站 ( https://www.w3.org/TR/html5/tabular-data.html#the-table-element - https://www.w3.org/TR/2014/WD-html51-20140617/tabular-data.html#attr-table-sortable ) 和 Mozilla 开发者网站 ( https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes ) 上都没有找到答案。

感谢您的宝贵时间。

<table sortable>
  <tr>
   <th sorted> 1 </th>
   <th sorted> 2 </th>
  </tr>
  <tr>
   <td> aaa </td>
   <td> bbb </td>
  </tr>
  <tr>
   <td> xxx </td>
   <td> zzz </td>
 </tr>
</table>

最佳答案

sortable 是一个 是 HTML 5.1 中的一个属性,应该早先包含但现在已弃用。所以目前没有浏览器支持它。有关详细信息,请参阅 this

关于html - 哪些网络浏览器支持 HTML5 属性 sortable?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41359602/

相关文章:

javascript - 不重复地填充 HTML 表格数据

html - 如何隐藏/删除前一个div的背景图片

php-回显不从数据库中显示

html - 动态更改图像的内容/src

html - 设置表格列宽

javascript - div 向左浮动导致溢出

html - 不要将 css 样式应用于子元素

javascript - 将数组存储在 html data 属性中

javascript - 如何在dojo中通过选择器查找父元素

html - 在图像上放置渐变,在 SVG 之前