W3C home > Mailing lists > Public > www-validator@w3.org > March 2014

Re: [VE][html5] <strike> warning should recommend using <s> instead

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Fri, 28 Mar 2014 23:10:42 +0200
Message-ID: <5335E552.607@cs.tut.fi>
To: "www-validator@w3.org" <www-validator@w3.org>, "j.j." <moz@jeka.info>
2014-03-28 21:44, Leif Halvard Silli wrote:

> Indeed. After all, <strike> and <s> are synonyms.
> Leif H
> j.j., Fri, 28 Mar 2014 19:03:42 +0100:
>> The validator warns about <strike>:
>>   "The strike element is obsolete. Use CSS instead."
>> It should recommend to use <s> instead.

In browser reality, and by HTML 4.01, <strike> and <s> are synonymous, 
but by HTML5 CR, which is what matters here, they are not. The <s> 
element is conforming, whereas <strike> is not, and <strike> has no 

In the HTML5 logic, which is not very logical, but by which validators 
should work, <strike> is an obsolete, nonconforming, ugly, naughty, 
impure, cursed presentational tag, whereas <s> is a proud Semantic tag. 
By that logic, <s> should be used instead of <strike> only in the very 
special case where the some semantics was meant to be implied by 
<strike> and this accidentally happens to coincide with the semantics of 

Received on Friday, 28 March 2014 21:11:13 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:10 UTC