Re: [WSG] Less than and greater than in UTF-8 encoded HTML

2007-11-14 Thread Sébastien Sauvé
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 Cockayne [EMAIL PROTECTED] wrote:

 Hi,

 How should I code less than  and greater than  signs in UTF-8
 encoded HTML?

 I.e. I want them to appear on the web page as follows:

 ...

 The quick brown fox said 3 is less than 4, then he wrote 3  4.

 ...

 Cheers,

 Simon




-- 
Sébastien Sauvé
sebastien.sauve ( at ) gmail.com
To try to be better is to be better


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***


Re: [WSG] POSH article question

2007-11-01 Thread Sébastien Sauvé
Hello Tom,

To make it short (I haven't read the article, sorry), strong and
em elements should be used to give semantic meaning to your text.
This is fundamentally different than making text bold or italic, as
these are only two visual ways of showing emphasis. Bold or italic
text does not necessarily mean that the author wants to put emphasis
on that piece of text (he may simply want to have his entire text bold
because it looks better that way), while the strong and em
elements do.

Naturally, if you do not style the two elements, they appear the same
visually as the old i and b tags. People tent to associate
strong and em tags with that styling, but there are countless
other ways of displaying emphasis (by making the text bigger, or
changing the color for example).

Hope that answers your question,

-- 
Sébastien Sauvé
To try to be better is to be better


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***