Prev Demo
CSS3
>
Word-Break Property
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title>Demo</title> </head> <body> <style> div { word-break: break-all; width: 250px; border: solid; } p { word-break: keep-all; width: 250px; border: dotted; } </style> <h4>Break at any character</h4> <div> Mr. Sheo Narayan is a software professional since 2000 and working in .NET Technologies since its first release. He has been awarded with Microsoft® Most-Valuable-Professional-(MVP), Star Entrepreneur Award etc. </div> <h4>Break at special characters</h4> <p> Mr. Sheo Narayan is a software professional since 2000 and working in .NET Technologies since its first release. He has been awarded with Microsoft® Most-Valuable-Professional-(MVP), Star Entrepreneur Award etc. </p> </body> </html>
Note: We DO NOT save your trial code in our database.
Output