HTML pre Tag

HTML pre Tag

In HTML <pre> tag is used for indicating preformatted text. Texts within <pre>…….</pre> tag is displayed in a fixed-width font. If we put any tag in <pre> tag content then tag ll not work and direct tag ll display.

Syntex

<p>This is a pre formatted text   
using HTML pre tag. It maintains  
    both space        and line break.  <p>

Output

  

This is a pre formatted text using HTML pre tag. It maintains both space and line break.