Wednesday, October 13, 2010

Another useful html tag!

WEll, this time I am talking about the < pre >  tag. It is used when you donot want to insert all the whitespaces individually.
Simply speaking, this tag is used when you want to have a preset text in your web-page.
Generally, the white spaces in your script are neglected by the browser. And they can be added using '&nbsp' ( meaning new blank space).Instead if you are using the 'pre' tag, it will display the text as it is written.
Despite the advantage, this tag is rarely seen in the web-pages.
This is the w3schools article on the tag.

PS: Being busy with my other work, am not able to blog regularly

No comments:

Post a Comment