Thursday, 26 April 2012


Pre-Formatted Text


These tips and tricks will allow you to have greater control over text.

To preformat text, you will need to look at the following html:

<pre>
      This text is
           preformatted
</pre>


It will display the following:


      This text is
           preformatted

If you simply were to remove the <pre> tag, like this:
      This text is
           preformatted

Then this text would be displayed:

This text is
preformatted


Here is another example of the uses of preformatting text.

No comments:

Post a Comment