CSS Intro

CSS Intro Quiz

CSS Intro Exercise

CSS Basic

CSS Basic Quiz

CSS Basic Exercise

CSS Advance

CSS Advance Quiz

CSS Advance Exercise


CSS3 Quiz

CSS3 Exercise

CSS Properties

CSS Functions

CSS Selectors

CSS tab size Property

CSS tab-size Property



The tab-size property is used to specify the width of a tab character. The tab character is usually displayed as a single space character and the result of the tab-size property will only be visible for textarea and pre elements.


Default Value:-


Its default value is 8.




Its syntax is:- tab-size: number | length | initial | inherit;


Further Explanation:-


Value Description
number The number of space characters to be displayed for each tab character.
length The length of a tab-character.
initial Sets this property to its default value.
inherit Inherits this property from its parent element.

Code Explanation

All Tutorials related to CSS Properties

All Sections related to CSS