Home
CSS
CSS Text
Text Spacing
Tryit: Using word-spacing
Run ❯
Get your
own
website
Result Size:
625 x 534
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
<!DOCTYPE html> <html> <head> <style> p.one { word-spacing: 10px; } p.two { word-spacing: -2px; } </style> </head> <body> <h1>Using word-spacing</h1> <p>This is a paragraph with normal word spacing.</p> <p class="one">This is a paragraph with larger word spacing.</p> <p class="two">This is a paragraph with smaller word spacing.</p> </body> </html>