DEV Community

aronsantha
aronsantha

Posted on • Edited on

> Remove formatting for test data

Use <pre> tags during development to print data with unformatted text. It will:

  • display a fixed-width font, and
  • preserve spaces and line breaks.

FYI, most browsers use these styles to format <pre> tags:

  display: block;
  font-family: monospace;
  white-space: pre;
  margin-top: 1em;
  margin-bottom: 1em;
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

AWS Security LIVE! Stream

Go beyond the firewall

Watch AWS Security LIVE! to uncover how today’s cybersecurity teams secure what matters most.

Learn More

👋 Kindness is contagious

Engage with a wealth of insights in this thoughtful article, cherished by the supportive DEV Community. Coders of every background are encouraged to bring their perspectives and bolster our collective wisdom.

A sincere “thank you” often brightens someone’s day—share yours in the comments below!

On DEV, the act of sharing knowledge eases our journey and forges stronger community ties. Found value in this? A quick thank-you to the author can make a world of difference.

Okay