The <pre> Tag in HTML 5

Use the <pre> tag for preformatted text

The <pre> tag is used for preformatted text. Spaces and line breaks within the source document are preserved. In most cases, monospaced fonts should be used for the text style.

Example of using the <pre> tag to display keyboard input and sample output:

select 1024 * 1024 * 1024 * 1024 as " 1 Terabyte";
-------------
 1 Terabyte
-------------
1099511627776

This is an actual working example of the <pre> tag example code below.