and and should always be written as entities because they will interfere
with the syntax otherwise. (And sometimes ). On the other hand, utf-8 should
allow you to use actual characters for every other character you are likely to
want to include in your content, and doing so is recommended.
Hi Simon,
You should use HTML entities to encode those characters.
You can view a list of those entities here :
http://www.w3.org/TR/html401/sgml/entities.html
But to answer your question quickly, should be written as gt;, and
as lt;.
Cheers,
Sebastien
On Nov 14, 2007 9:42 AM, Simon
http://www.webstandards.org/learn/reference/charts/entities/
Always found it to be very useful
_
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of James Leslie
Sent: 14 November 2007 15:08
To: wsg@webstandardsgroup.org
Subject: RE: [WSG] Less than and greater than
Simon,
Less than is lt; and more than is qt;
So it would be The quick brown fox said 3 is less than 4, then he
wrote 3 lt; 4.
best
Tom
On 14 Nov 2007, at 14:42, Simon Cockayne wrote:
Hi,
How should I code less than and greater than signs in UTF-8
encoded HTML?
I.e. I want
How should I code less than and greater than signs in UTF-8
encoded HTML?
less than = lt;
greater than = gt;
You might find this useful:
http://leftlogic.com/lounge/articles/entity-lookup/
James
Hello Simon,
How should I code less than and greater than
signs in UTF-8 encoded HTML?
The quick brown fox said 3 is less than 4, then he wrote 3 4.
The quick brown fox said 3 is less than 4, then he wrote 3 lt; 4.
Greater than, , is written as gt;
Cheers.
Mike Cherim