(1) Global attributes of labels
- accesskey attribute
<!-- 键盘同时按下Alt+n键可以获取焦点 -->
<input accesskey="n" />
- contenteditable attribute (new in HTML5): Enables the editing function of tags, allowing users to modify the content of the page
- contextmenu attribute (currently only the Firefox browser supports the contextmenu attribute): used to set shortcut menus for elements
- dir attribute (ltr: text direction from left to right rtl: text direction from right to left): specifies the text direction of the element content
- draggable attribute: indicates whether the element can be dragged and dropped
- dropzone attribute: used in conjunction with draggable attribute
- hidden attribute: hide related elements
- lang attribute (must use a valid ISO language code): used to describe the language used by the element content
- spellcheck attribute (only used on editable elements): performs spell check on the content of the element
- tabindex attribute (the first one with a value of 1 is selected in downward order, -1 will not be selected): You can use the Tab key on the keyboard to switch the focus element