W3C home > Mailing lists > Public > www-style@w3.org > July 1999

Re: <U> Deprecated

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 23 Jul 1999 14:10:55 -0400 (EDT)
Message-ID: <004c01bed536$8b553500$c7e0a8c0@de>
To: "John Whelan" <whelan@itp.unibe.ch>
Cc: <www-style@w3.org>
| Each of these examples would be better handled by using HTML tags
| which carry the *meaning* of what you're trying to describe and then
| using stylesheets to customize the appearance if you like:

Yes, and it is the same with Style Sheets, so

| A <dfn class="underlined">programmer</dfn> is ...
|
| <em class="underlined">Don't mention the war!</em>
|
| with the stylesheet declaration
|
| .underlined {text-decoration: underline; font-style: normal}

"underlined" is no good name for a class. As you said: use names for classes
that carry the *meaning* of what you're trying to describe. If you later want
you EM red, bold and italic instead of underlined, it would be very confusing,
if the name of the class is 'underlined'.

regards,
 Bjoern Hoehrmann
Received on Friday, 23 July 1999 15:06:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:59 GMT