HTML - Preformatting

When we write an HTML code in Notepad. we will use spaces, will press enters so we can orientate easier in searching of the mentioned part. A browser will interpret the code as a single line though, ignoring the spaces and 'enters pulsations' mentioned above.

For that we have the <pre> tag which makes the browser viewing, be the same as the notepad one.

html<pre>
	It's a thief in the night
		To come and grab you     
	
	It can creep up inside you 
		And consume you 
</pre>

Demo

It's a thief in the night
		To come and grab you     
	
	It can creep up inside you 
		And consume you