English
German

HTML Pre

HTML pre tag

A web browser interprets your html document as being one long line. Sure, you may have tabs and line breaks in notepad aligning your content so it is easier to read for you the web master your browser ignores those tabs and line breaks.

We showed you one way to get around this by using the ltbr /> tag. Tabs and spacing are quite different, and absolutely annoying at times. One simple solution might be to use the <pre> tag, standing 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.

Example:

<pre>
your code is here

<b> bold tag showing your code<b>

<i> showing the tag code example</i>
</pre>
 

Output
your code is here

 bold tag showing your code

 showing the tag code example

HTML Tutorial,HTML Pre, HTML Pre example, learn HTML Pre,explain example HTML Pre online free training HTML Tutorial, HTML Tutorial example, learn HTML Pre, online tutorial, download tutorial, HTML Tutorial books, HTML Tutorial videos, live videos HTML Tutorial, learn HTML Tutorial, HTML Tutorial topic HTML Pre, live training HTML Tutorial, download free tutorial