tag < pre > :
Definition and Usage
The <pre> tag defines preformatted text.
Text in a <pre> element is displayed in a fixed-width font (usually Courier), and it preserves both spaces and line breaks.
| code | output |
|
< pre > This is a pre formatted paragraph it does not have any space or linebrake < / pre > |
this is a pre
formatted paragraph
it does not have any
space or linebrake
|
|
< p > this is a usual paragraph IE doesn't pay attention to line brakes and spaces it shows it like this < /p > |
this is a usual paragraph IE doesn't pay attention to line brakes and spaces it shows it like this |