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 '<' and '&' to '&'.
--
Chris F.A. Johnson <http://cfaj.freeshell.org>
===================================================================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
Navigation:
[Reply to this message]
|