Sunday 24 November 2013

Chapter 6: Text Formating » Preformated text

» Preformated text



We use <pre> tag to control spaces, line breakes and character widths.

» EXAMPLE:

<html>
<body>

<pre>
    This is prefor-
    matted text.
    9  x  9  =  81
</pre>

</body>

</html>

» Result:


This is prefor-
matted text.
9 x 9 = 81

No comments:

Post a Comment