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 Toby Inkster on 09/12/06 05:05

Beauregard T. Shagnasty wrote:
> Michael Jones wrote:
>
>> I have tried to wrap the code in <code> tags but this does not seem
>> to work.
>
> Convert all of the < to &lt;
> and the > to &gt;

You should probably still keep the <code>...</code> tags though -- as this
lets browsers know that you're displaying some source code. They can then
choose an appropriate way of displaying it -- often in a fixed-width font,
but perhaps in an audio browser, read by a different voice, or on systems
with only one font, in a different colour.

<code>&lt;A HREF="http://www.google.co.uk/"&gt;Google&lt;/A&gt;</code>

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

 

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

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