-->

HTML pre Tag

HTML <pre> tag

HTML <pre> tag

HTML pre tag: 

This is a double tag. <pre> This is the beginning tag and </pre> this is the closing  tag. This <pre> element defines preformatted text. The <pre> tag is displayed in a fixed-width font "usually Courier" and it conservation both spaces and line breaks. This tag using for indicating preformatted text. Browsers generally render <pre> text in a fixed-Of length font, with white space in tact, and without word wrap.




<pre>=Preformatted text.
Copy this code and past your page.



Example:

Result:

HTML CSS Learning Home.





Support Browser
HTML <pre> tag
Browser
HTML <pre> tag
Google 
 Chrome  
HTML <pre> tag
Internet
Explorer
HTML <pre> tag
Firefox
HTML <pre> tag
Opera  
HTML <pre> tag
 Safari   
<pre>
Yes
Yes
Yes YesYes



  • Html Version Differenc: Differences Between HTML 5 and 4.01. 

This width attribute is not support in html 5.


If you want to make to displaying preformatted text using HTML code, Use HTML<pre> element.


1. What is the <pre>tag ?

2. What is the  <pre> tag using for ?

3. What is the definition of <pre> tag ?

4. What is the <pre> tag mean ?

5. How can You make to displaying preformatted text using html code ? 


Facebook Comments

Follow by Email