"Armand Karlsen" <ar************@zen.co.uk> wrote:
What code can I put in a web page to make a browser show a piece of
(x)html, instead of trying to render it?
If you need to ask, do you think you are competent enough in XHTML
to present HTML code in public? During the years, we have even seen
people who claim to be writing an HTML tutorial and asked how to show
HTML samples. The usual advice is: read a good tutorial before trying
to write one.
(Any good tutorial tells that the characters "<" and "&", if they
appear as data, should be written as "<" and "&", or something
like that. But a good tutorial tells you other things as well, such as
the use of <code> markup and various ways to preserve formatting,
should you wish to do do.)
--
Yucca,
http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring:
http://www.cs.tut.fi/~jkorpela/www.html