Reply to Re: Display HTML hyperlink code as pure text?

Your name:

Reply:


Posted by Michael Jones on 09/11/06 22:17

"mbstevens" <NOXwebmasterX@XmbstevensX.com> wrote in message
news:pan.2006.09.11.22.05.13.210685@XmbstevensX.com...
> On Mon, 11 Sep 2006 21:23:45 +0000, Michael Jones wrote:
>
>> I would like to display some HTML hyperlink code as pure text on a web
>> page (ie I would like the user to be able to read the code).
>>
>> I have tried to wrap the code in <code> tags but this does not seem to
>> work.
>
>
> Use '&lt;' for '<' and '&gt;' for '>'.
> That way, tags won't actually be interpreted as tags by the
> visitor's browser. If you notice anything else in the code
> not behaving in the way you expect, just use a character entity
> or numeric entity instead of the character itself. If you google for
> those two things you'll get more information.
> --
> mbstevens
> http://www.mbstevens.com
>
>
To all the respondents:

Your solution worked perfectly - Thanks!

Michael Jones

[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

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