Reply to Re: Why is <pre> not working??

Your name:

Reply:


Posted by Chris F.A. Johnson on 10/09/06 00:12

On 2006-10-09, techfiddle wrote:
> Collective Wisdom:
>
> I'm designing a page to give people a block of source code:
>
> http://www.geocities.com/techfiddle/violinwebringcode.html
>
> However, for some reason which I cannot determine, the <pre> </pre>
> function isn't working, and the graphic is showing up.
>
> Why is this, and how can I fix it?

In a <pre> element, tags are parse as such. Change '<' to '&lt;'
and ampersands to '&amp;'. (Do not include the single quotes.)

--
Chris F.A. Johnson <http://cfaj.freeshell.org>
===================================================================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)

[Back to original 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

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