You are here: Re: Why is <pre> not working?? « HTML « IT news, forums, messages
Re: Why is <pre> not working??

Posted by Beauregard T. Shagnasty on 10/09/06 00:40

techfiddle wrote:

>> In a <pre> element, tags are parse as such. Change '<' to '&lt;' and
>> ampersands to '&amp;'. (Do not include the single quotes.)
>
> Chris, thank you for responding to this. I'm really not following
> you.
>
> I changed the chevrons to &lt and the ampersand to &amp;
> that didn't fix it.

Not these: [quote:] &lt;pre&amp;

All the ones *in between* <pre> and </pre>

For conformity, you should also change the > to &gt;
so you have matching pairs. Not required, but a good idea.

--
-bts
-Motorcycles defy gravity; cars just suck

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация