W3C home > Mailing lists > Public > public-html@w3.org > January 2008

Re: Underline element.

From: Maciej Stachowiak <mjs@apple.com>
Date: Fri, 4 Jan 2008 15:50:58 -0800
Message-Id: <10BE9550-10A1-4D29-B059-CD846FB749EC@apple.com>
Cc: HTMLWG <public-html@w3.org>
To: Peter Krantz <peter.krantz@gmail.com>

On Jan 4, 2008, at 7:24 AM, Peter Krantz wrote:

> On Jan 3, 2008 8:11 PM, Ca Phun Ung <caphun@yelotofu.com> wrote:
>
> I understand we cannot
> create elements for each and every semantic meaning under the Sun  
> but we
> could at least remove those elements that add no value to HTML, namely
> <b>, <i> and <u>.

In practice, deprecating <b> and <i> will lead to incorrect use of  
<strong> and <em> for content that is not emphasized or strongly  
emphasized. It's better for authors to use vague-semantic elements  
like <i> for ship names than incorrect strong-semantic elements like  
<em>. In particular, many in-page HTML WYSIWYG editing tools have an  
[I] button that inserts an <em> tag - this is just plain wrong and  
poisons any ability to infer semantics from <em>. <i> is a better  
default choice for a WYSIWYG editor in this case than either <em> or  
<span style="font-style: italic">.

>
>
> Absolutely correct. Elements for "each and every semantic meaning  
> under the sun" is catered for by the inclusion of RDFa in HTML5. If  
> you are working on documents where shipping terms are frequently  
> used we could see things like:
>
> <span property="shipping:shipName">Titanic</span>
>
> ...with the appropriate vocabulary identifier of course. This  
> provides custom vocabularies that will be distinguishable from  
> ambiguous things like <u> and <i> that aren't machine  
> interpretable. I really wish more people on the list could have a  
> look at the possibilities you get with RDFa. A lot of the time it  
> would shorten discussions like these.

Don't assume that all disinterest in RDFa is due to lack of  
knowledge. Some are quite aware of it and think encoding custom  
vocabularies and sending them over the wire is not a good idea, and  
that shared vocabularies defined by common convention, such as  
microformats, are a better choice.

Regards,
Maciej
Received on Friday, 4 January 2008 23:51:12 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:29 UTC