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;
Top comments (0)