Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Titre du document</title> <style> .tab1 { -moz-tab-size: 5; /* Firefox */ -o-tab-size: 5; /* Opera 10.6-12.1 */ tab-size: 5; } .tab2 { -moz-tab-size: 20; /* Firefox */ -o-tab-size: 20; /* Opera 10.6-12.1 */ tab-size: 20; } </style> </head> <body> <h2>Exemple de la propriété tab-size</h2> <pre class="tab1"> Lorem ipsum est une... </pre> <pre class="tab2"> Lorem ipsum est une... </pre> </body> </html>