22.1. XHTML1.1 属性集合 Attribute Collections
有些属性在很多标签上的意义都是一样的,它们可以分成几组集合:(Attribute Collections)
XHTML1.1的属性集合:
原属性 Core
I18N属性 Internationalization
- xml:lang (CDATA)
事件属性 UI events
- onclick (Script)
- ondblclick (Script)
- onmousedown (Script)
- onmouseup (Script)
- onmouseover (Script)
- onmousemove (Script)
- onmouseout (Script)
- onkeypress (Script)
- onkeydown (Script)
- onkeyup (Script)
样式属性 Style
- style (CDATA)
一般属性 Common
上面四组属性合在一起被称为一般属性(Common):
- Common = Core + Events + I18N + Style
大多数标签都具有"一般属性",有一些标签还具有自己的"私有属性". 比如: