코드랩 레퍼런스
Global attributes 본문
Property
속성 | 값(예) | 설명 | 버전 |
---|---|---|---|
accesskey | accesskey="h" | 요소를 활성화하거나 포커스 할 경우 단축키를 설정합니다. | - |
class | class="name" | 요소의 클래스 이름을 설정합니다. | - |
contenteditable | contenteditable="true" | 요소 컨텐츠의 편집 여부를 설정합니다. | |
contextmenu | contextmenu="menu_id" | 요소 컨텐츠의 메뉴를 설정합니다. 마우스 오른쪽 클릭하면 나타납니다. | |
data-* | data-global="text" | 요소의 개인적인 속성을 설정합니다. | |
dir | dir="rtl" | 요소 컨텐츠의 방향을 설정합니다. | - |
draggable | draggable="true" | 요소의 드래그 여부를 설정합니다. | |
dropzone | dropzone="copy" | 요소를 드롭했을 경우에 복사, 이동, 링크 등을 설정합니다. | |
hidden | hidden | 요스를 숨김니다. | |
id | id="name" | 요소에 아이디 이름을 설정합니다. | - |
lang | lang="ko" | 요소의 언어를 설정합니다. | - |
spellcheck | spellcheck="true" | 요소 컨텐츠의 스펠링 검사 여부를 설정합니다. | |
style | style="value" | 요소에 스타일 속성을 설정합니다. | - |
tabindex | tabindex="1" | 요소의 탭 순서를 설정합니다. | - |
title | title="text" | 요소에 추가적인 정보를 설정합니다. | - |
translate | translate="yes" | 요소 컨텐츠의 번역 여부를 설정합니다. |
Compatibility
6 | 7 | 8 | 9 | 10 | 11 | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
accesskey | |||||||||||||
class | |||||||||||||
contenteditable | |||||||||||||
contextmenu | |||||||||||||
data-* | |||||||||||||
dir | |||||||||||||
draggable | |||||||||||||
dropzone | |||||||||||||
hidden | |||||||||||||
id | |||||||||||||
lang | |||||||||||||
spellcheck | |||||||||||||
style | |||||||||||||
tabindex | |||||||||||||
title | |||||||||||||
translate |