It's been a while since I coded in HTML by hand, but I believe you would have to use
&<
I couldn't code javascript by hand, as I don't know the language at all well and I
hate any language that uses == instead of =. I mean how would you do <=>, would it
be <==>??
Regards,
Andrew B
aliensrcooluk at yahoo.co.uk
--- On Thu, 25/12/08, Fred Cisin <cisin at xenosoft.com> wrote:
From: Fred Cisin <cisin at xenosoft.com>
Subject: Re: OT: HTML queries (was Re: PDF datasheets)
To: "General Discussion: On-Topic and Off-Topic Posts" <cctalk at
classiccmp.org>
Date: Thursday, 25 December, 2008, 2:35 AM
On Wed, 24 Dec 2008, Brent Hilpert wrote:
Are you asking how to get < and > rendered as
displayed text?
Try:
...the <BOLD> tag will...
(I'm not sure how I know this, I can't find it in the html
reference I
use;
which begs the question of whether it's actually
part of the
standard.)
< is the "less than" character
> is the "greater than" character
how would you get HTML to display:
"< is the "less than" character"
would I have to "escape" the ampersands?
&lt;
<pre> , </pre> are fun.
Is there an inconsistency with whether a browser will display special
chatacters within a <pre> block? Do some browsers display them
literally,
while others apply the <pre> ONLY to whitespace and line breaks?
I have seen at least one browser where I could get away with:
<pre>
x = <
if (x < y) . . .
</pre>
I guess that "modern" HTML has evolved to the point where one MUST
use an
HTML generating program, and no more tampering with the raw HTML; just as
"nobody" writes Postscript.
--
Grumpy Ol' Fred cisin at
xenosoft.com