To ensure that a block of text doesn't wrap to the next line, you would set the white-space property to ________.

  • break-word
  • no-wrap
  • nowrap
  • wrap
To prevent a block of text from wrapping to the next line, you would set the white-space property to nowrap. This property prevents text from breaking at spaces or hyphens, keeping it on a single line.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *