You are here: Re: Display HTML hyperlink code as pure text? « HTML « IT news, forums, messages
Re: Display HTML hyperlink code as pure text?

Posted by Chris F.A. Johnson on 09/11/06 22:25

On 2006-09-11, 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.

Either rename the file (or a copy of it) with a .txt instead of
.html extension (you can use a link on a Unix system), or change
all instances of '<' to '&lt;' and '&' to '&amp;'.

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

 

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

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