The <pre> element can define preformatted text. The text enclosed in the pre element usually retains spaces and line breaks. The text will also be rendered as a monospaced font. The problem of content wrapping in <pre> (compatible with multiple browsers): pre { white -space: pre- wrap; white -space: -moz-pre- wrap; white -space: -pre- wrap; white -space : -o-pre- wrap; * word-wrap: break - word; * white- space: normal; }