Students Empire

Learn Something New

pre tag

A web browser interprets your HTML document as being one long line. Sure, you may have tabs and line breaks in Notepad which align your content so it's easier for you to read, but your browser ignores those tabs and line breaks.

We showed you that you can get around this problem by using the
tag, but tabs and spacing are quite different from one another and can be absolutely annoying at times. One simpler solution might be to use the

 tag, which stands for previously formatted text.

Use the <pre> tag for any special circumstances where you wish to have the text appear exactly as it is typed. Spaces, tabs, and line breaks that exist in your actual code will be preserved with the <pre> tag.

			    	<pre>I am learning html in studentsempire</pre>