Saturday 26 February 2022

HTML document for pre tag

 PRE TAG

Code :

<!doctype html>

<html>

    <head>

       <title>pre Tag</title>

    </head>

    <body>

    <h1>pre Tag in HTML</h1>

    <p>

       The HTML &#60pre&#62 tag is used for indicating preformatted text. The code tag surrounds the code being marked up.<br>

       Browsers normally render pre text in a fixed-pitched font, with whitespace in tact, and without word wrap.

       </p>

       <pre>

   This text is 

     in a fixed-pitch

  font, and it preserves

     both     spaces and line breaks

       </pre>

    </body>

</html>

WEB VIEW :

Come again Learn again !

< iCodeBuzz />

No comments:

Post a Comment