什么是全局属性在HTML中

时间:2010-11-02 18:26:49

标签: html

html中的全局属性是什么?是否有所有全局属性的列表?

2 个答案:

答案 0 :(得分:3)

HTML5规范引入了全局属性的概念。这些是可以在所有HTML元素上指定的属性。列表应如下:

accesskey
class
contenteditable
contextmenu
dir
draggable
hidden
id
lang
spellcheck
style
tabindex
title

来源和进一步阅读:

答案 1 :(得分:0)

http://www.w3schools.com/html5/html5_ref_standardattributes.asp - HTML5

Google是你的朋友,这花了我不到1分钟的时间。