YouTip LogoYouTip

Prop Style Tabsize

# Style tabSize Property [![Image 8: Style Object Reference](#) Style Object](#) ## Example Set the tabSize of a
 element:

 document.getElementById("myPRE").style.tabSize="16"; 

[Try it Β»](#)

* * *

## Definition and Usage

The tabSize property specifies the length of a tab character in spaces.

In HTML, the tab character is usually displayed as a single space character, except for some elements like