
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
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>
Advertisements