CSS Property:
white-space:

Result:

This example demonstrates the white-space property. You can see the result of the different white-space properties by clicking on one of the properties on the left.

CSS Code:
div {
    
  white-space:normal;
      }
Click the property values above to see the result
W3Schools.com - Play it