[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
HTMLSPEC-PRE
Used as a way to include space characters from the HTML source code into a "preformatted" paragraph type using a fixed width font. It will not however, include special HTML characters such as ( < and > ). Special characters must still be specified by the defined character entities.
Attributes
Code Tip
The <pre> tag is commonly used to include program code examples or other previously text formatted writings.
Live Example
HTML Tags Center
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
HTMLSPEC-PRE
Pre
UsageUsed as a way to include space characters from the HTML source code into a "preformatted" paragraph type using a fixed width font. It will not however, include special HTML characters such as ( < and > ). Special characters must still be specified by the defined character entities.
Attributes
width=""
Code Tip
The <pre> tag is commonly used to include program code examples or other previously text formatted writings.
Live Example
<html> <head><title>Preformatted Text Example</title></head> <body> <pre> ////////////////////////////////////////// Starts line by including spaces. Drops down two lines without specifying a line break. ///////////////////////////////////////// </pre> </body> </html>
HTML Tags Center
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
