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

Re: Strike Element Deprecated

From: Geoffrey Sneddon <foolistbar@googlemail.com>
Date: Wed, 23 Jan 2008 12:57:22 +0000
Cc: <public-html-comments@w3.org>
Message-Id: <12204D46-64BA-4B04-A066-ADFDABD88E07@googlemail.com>
To: Christopher Reynolds <christopher_reynolds@flightcentre.com>

On 22 Jan 2008, at 23:55, Christopher Reynolds wrote:

> I feel that this is not the case in many sites that display prices to
> customers. Often, when a price is reduced, the old price is displayed
> using the strike element.
> In this instance, the strike element is used to denote a piece of data
> that was once correct, but has since been altered. If the function of
> the strike element were to be handled by CSS, then there's a risk that
> the site visitor could be presented with information that is  
> intended to
> be deprecated but is being presented as current.

This is exactly what the del and ins elements are intended for:  
marking up edits; ins marking up an addition to the document (an  
"insertion") and del a removal (a deletion). In this use case, the old  
price has been deleted and a new price has been inserted. Due to more  
exact semantics than strike, a site visitor can be presented with the  
content in a more desirable way (and therefore not being reliant on  
CSS whatsoever).

Geoffrey Sneddon
Received on Wednesday, 23 January 2008 12:57:45 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:26:24 UTC