Html 5 Pre Tag

In the html5 <pre> tag is used to identify preformatted text and which tag is display font in fixed width and its give space and line breaks for paragraph text. In the <pre> tag width attribute not support in html 5.In which tag mostly we will use to display unusual text and computer codes.

Syntax:

<pre>
  Text
</pre>

Example Code

<pre>
PHP Hypertext Preprocessor
   is a web development dynamic web scripting
programing language
   which can embedded into the HTML and
interacts with databases.
</pre>

Out Put:



	PHP Hypertext Preprocessor 
		is a web development dynamic web scripting 
	programing language 
		which can embedded into the HTML and 
	interacts with databases. 
				

In the above example <pre> tag has been added to "What is PHP ?" content.





Content