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