<pre> HTML tagWe 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.
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 languageWe can display multiple space by using html blank space Learn how to display html tags in web pages.
This article is written by plus2net.com team.
![]() | ||
| ||