코드랩 레퍼런스

Global attributes 본문

BASIC

Global attributes

webstoryboy 2016. 10. 5. 12:32
Global 속성은 모든 태그에 적용이 가능한 속성입니다.

Property

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

Compatibility

크롬 아이콘 파이어폭스 아이콘 사파리 아이콘 오페라 아이콘 안드로이드 아이콘 ios 아이콘 익스플로러6 아이콘 6 익스플로러7 아이콘 7 익스플로러8 아이콘 8 익스플로러9 아이콘 9 익스플로러10 아이콘 10 익스플로러11 아이콘 11 엣지 아이콘
accesskey
class
contenteditable
contextmenu
data-*
dir
draggable
dropzone
hidden
id
lang
spellcheck
style
tabindex
title
translate

Ad

Comments