Task 19: Using the Preformatted Text Element

There is a way to make a browser display text almost exactly as you type it in your HTML document. The pre tag tells the browser that text is preformatted, which means it should leave all white space as entered. In other words, if you hit the Spacebar seven times, the browser will respect those seven spaces. Typically, browsers display any text written between pre tags with a monospaced font.

No comments: