search engine optimization articles do it yourself seo hiring search engine experts html and search engine optimization web site analysis and submission service

HTML Pre Tag Tutorial

Browser Support

Internet Explorer Firefox Opera Safari Chrome

The <pre> tag gives you a way to include preformatted text in your HTML document.

Preformatted text is rendered in a monospace font (fixed width). Character spaces and line breaks are also preserved with preformatted text, rather multiple spaces and multiple line breaks being closed as they are with HTML.

Here's how to use the pre tag:

<pre>
The font is different and     line 
breaks     and character   spaces

are preserved with 
    preformatted text.
</pre>

Can you guess how that would look on a web page. It would look just...like...this...

The font is different and     line 
breaks     and character   spaces

are preserved with 
    preformatted text.

Wherever you place spaces and wherever you place line breaks will be preserved. The main purpose for this (in my usage anyway) is to create a neat looking order form.

________     $27.00     Free Reports Goldmine
________     $57.00     Industrial Strength Link Building
________     $77.00     SEO for YOU 
________     $27.00     Public Domain Profits

See, nice and neat.

This concludes the HTML Preformatted Text <pre> Tutorial.
Back | HTML Tag Chart | HTML Index | Web Design Tutorials
search engine optimization course
If you want your web site to rank high in the search engines . . . what are you going to do to get it there? Check out my search engine optmization guide, SEO for YOU: Search Engine Optimization for Ordinary Everyday People!

Check out SEO for YOU now!

Almost a Newsletter

Subscribe today for exclusive website design tutorials and grab some free gifts to boot! Learn more, or subcribe below:
Email:

First Name:

Privacy Policy

Did you know...

The member's site has about 100 standards compliant HTML and CSS tutorials, 31 handy reference charts, reprintable content, web graphics, exclusive fonts, free software, free ebooks and more? All this for less than 9 cents a day! [ Details ]
See my fancy bottom! :)