The tab-index property is designed to be a direct replacement for the HTML 4 attribute tabindex. It works in the same fashion as the old HTML 4 attribute, specifying the position of the tabbing order for elements on a page (i.e., which element is selected first, second, third and so on at each press of the TAB key).