Re: Strike Element Deprecated

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
<http://gsnedders.com/>

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