Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> p { width: 55px; border: 1px solid #666; } p.none { -webkit-hyphens: none; -ms-hyphens: none; hyphens: none; } p.manual { -webkit-hyphens: manual; -ms-hyphens: manual; hyphens: manual; } p.auto { -webkit-hyphens: auto; -ms-hyphens: auto; hyphens: auto; } </style> </head> <body> <h2>Hyphens property example</h2> <h3>none</h3> <p class="none">An extreme­ly lengthy sentence</p> <h3>manual</h3> <p class="manual">An extreme­ly lengthy sentence</p> <h3>auto</h3> <p class="auto">An extreme­ly lengthy sentence</p> </body> </html>