a monospace font does not change the handling of spaces. In HTML, usually, multiple spaces are reduced to one space. The pre element and the text-area element are the only elements which (per default) keep spaces. (unless I forgot elements) This can be influenced by CSS, here by using a style attribute with "white-space:pre;" in it - as I have demonstrated for the div element.
|