Global attributes are attributes common to all HTML elements; they can be used on all elements,though the attributes may no effect on some elements.
accesskey
The accesskey global attribute provides a hint for generating a keyboard shortcut for current element.
<a href="http://baidu.com" accesskey="w">baidu</a>
class
The class global attribute is a space-separated list of the classes of the element.Classes allows CSS and Javascript to select and access specific elements via the class selector or functions like the DOM method document.getElementsByClassName.
contenteditable
The contenteditable global attribute is an enumerated attribute indicating if the element should be editable by the user.If so,the browser modifies its widget to allow editing.The attribute must take one of the following values:
true or empty string,which indicates that the element must be editable;
false,which indicates that the element must not be editable.
<p contenteditable="false">不能编辑</p>
<p contenteditable="true">能编辑</p>