<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>
This can be useful for displaying text that is formatted in a specific way, such as a poem or a song lyric.
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

Subscribe

* indicates required
Subscribe to plus2net

    plus2net.com







    Post your comments , suggestion , error , requirements etc here




    We use cookies to improve your browsing experience. . Learn more
    HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
    ©2000-2024 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer