Setting the width for CSS tabs
By using the CSS tab-size
property, you can define a custom size for the tab character:
Note: due to the whitespace collapse principle, CSS tabs or multiple spaces can only be displayed in preformatted text.

- Simplistic design (no unnecessary information)
- High-quality courses (even the free ones)
- Variety of features
- Nanodegree programs
- Suitable for enterprises
- Paid certificates of completion

- Easy to navigate
- No technical issues
- Seems to care about its users
- Huge variety of courses
- 30-day refund policy
- Free certificates of completion

- Great user experience
- Offers quality content
- Very transparent with their pricing
- Free certificates of completion
- Focused on data science skills
- Flexible learning timetable
Syntax for customizing CSS tabs
The CSS tab-size
property only takes one value that define the width of the tab character:
tab-size: width;
You can specify it in two ways:
- Length units can be used to define exact width
- A unitless number defines how many spaces the tab will be equal to in width
Browser support

Chrome

Edge

Firefox

IE

Opera

Safari
Mobile browser support

Chrome

Firefox

Opera
