SQL PHP HTML ASP JavaScript articles and free scripts to download
HTML

<pre> HTML tag

We can display compute codes or scripts with different tags by using pre html tag. Usually browsers ignore multiple spaces and tabs and display one single space break. We can retain the same space between words by using pre code.

<pre>Some text</pre>

Similarly some symbols like less than or greater than can be displayed without any conversion.
Another advantage of pre command is it retains the line breaks between lines.
Let us try to display some text having multiple lines and more than one space within words and having some symbols.

Welcome to plus2net, you can learn following scripts here. PHP Server side scripting language ASP Server side scripting language HTML Tags to use using web browser JavaScript Client side scripting language

When displayed along with pre tag then above lines will retain their extra space and line breaks
Welcome to plus2net,   you can learn  following scripts here. 
PHP                Server side scripting language
ASP                Server side scripting language
HTML             Tags to use using web browser
JavaScript    Client side scripting language 
We can display multiple space by using html blank space
Learn how to display html tags in web pages.

Managing font size and style

Be the first to post comment on this article :


Google+
Post Comment This is for short comments only. Use the forum for more discussions.
Name
Email( not to be displayed)Privacy Policy
1+2=This is to prevent automatic submission by spammers. Please enter the result of the sum as asked



HTML . MySQL. PHP. JavaScript. ASP. Photoshop. Articles. FORUM Contact us

©2000-2014 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer