CoderTools Web site

HTML Pre tag - <pre></pre>

Description


The pre tag allows you to format text without using any html tags. The appearance of text within a pre tag will appear the same in the browser window.

Example for <pre>


The Pre tag displays text in the same format it is in the html file, see here:

    <pre>
        this    text    has many tabs
                this    text    has many tabs
                        this    text    has many tabs
            this    text    has many tabs
        this    text    has many tabs
    </pre>
The result appears exactly the same in the browser window:
        this    text    has many tabs
                this    text    has many tabs
                        this    text    has many tabs
            this    text    has many tabs
        this    text    has many tabs



Attributes for <pre>


Name Values Description
No Attributes

8/19/2017 3:43:54 PM
Terms Of Use | Privacy Statement | Copyright 2006-2015 © Independence Software LLP