Obsivus Obsivus - 6 months ago 5
HTML Question

automatically breaking a word correctly?

I am using bootstrap.
Let say I have text that looks like this:


Can I somehow automaticly make sure that it breaks like this if the text does not fit the container:



instead of:



with html/css?

Any tips or hints is appreciated.


You can use <wbr> tag

p {
  width: 60px;  
  border: 1px solid black;