--- title: element.tabIndex slug: Web/API/HTMLElement/tabIndex tags: - DOM - Gecko - Gecko DOM Reference translation_of: Web/API/HTMLOrForeignElement/tabIndex ---
{{ ApiRef() }}
현재 요소의 탭 순서를 get/set.
element.tabIndex =iIndex
iIndex
는 숫자b1 = document.getElementById("button1"); b1.tabIndex = 1;
{{ languages( { "en": "en/DOM/element.tabIndex", "pl": "pl/DOM/element.tabIndex" } ) }}