
- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Set the width of a tab character with CSS
Use the tab-size property in CSS to set the width of a tab character. You can try to run the following code to implement the tab-size property
Example
<!DOCTYPE html> <html> <head> <style> #demo { tab-size: 12; } </style> </head> <body> <h1>The tab-size Property</h1> <pre id = "demo"> This is demo text. </pre> </body> </html>
- Related Questions & Answers
- Set the width of a box with CSS
- Set the width of a button with CSS
- Set the width of the outline with CSS
- How to set the length of the tab-character with JavaScript?
- Set the width of an image with CSS
- Set the width of image border with CSS
- Set border width with CSS
- Set the border image width with CSS
- Set the width of the rule between columns with CSS
- With JavaScript RegExp search a tab character.
- Set width between table cells with CSS
- Set the maximum width that a box can be with CSS
- Set the minimum width that a box can be with CSS
- Set the width of the left border using CSS
- With JavaScript RegExp search a vertical tab character.
Advertisements