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

Re: Emphasizing STRIKE

From: Ben 'Cerbera' Millard <cerbera@projectcerbera.com>
Date: Wed, 6 Feb 2008 19:10:05 -0000
Message-ID: <006301c868f3$e4aaf590$0301a8c0@ben9xr3up2lv7v>
To: "Leif Halvard Silli" <lhs@malform.no>, "Philip Taylor \(Webmaster\)" <P.Taylor@Rhul.Ac.Uk>, "j.j." <moz@jeka.info>, "gonchuki" <gonchuki@gmail.com>
Cc: "HTMLWG" <public-html@w3.org>

Leif Halvard Silli wrote:
> Philip Taylor (Webmaster) 08-02-06 17.46:   
>> but given a choice between <strike> and <s> I would
>> much prefer the former, since <s> could only too
>> easily be confused with <strong> by analogy with <b>.
>
> Valid point.

I disagree. If the author looks at the page in a web browser, they'll see 
the text is crossed out instead of emboldened.

Some other notes:

1. <s> uses fewer bytes than the alternatives.
2. Some formatting elements named in a similar style to <s>:
    * <b>
    * <i>
    * <tt> (as opposed to <teletype>)
    * <u>
3. Some elements which a greater purpose than formatting named in a similar 
style to <strike>:
    * <base>
    * <caption>
    * <cite>
    * <code>
    * <form>
    * <input>
    * <label>
    * <legend>
    * <option>
    * <strong>
4. Some formatting elements named in a similar style to <strike>:
    * <basefont>
    * <big>
    * <center>
    * <font>
    * <small>
    * <strike> (alias of <s>)
5. Elements with a greater purpose than formatting named in a similar style 
to <s>:
    * <a>
    * <p>
    * <q>

If we make an element for creating a strikethrough effect conforming, I 
think we should:

* Allow both <s> and <strike> equally. There is consistency and 
inconsistency with either name.
* Define <s> and <strike> as aliases of each other.
* Highlight the usefulness of <del> for common strikethrough cases in the 
authoring section/document.

I am not sure if such an element should be conforming. <del> seems 
appropriate in all the cases I've seen, especially when no attributes are 
present. But this is not something I've studied in great detail.

--
Ben 'Cerbera' Millard
Collections of Interesting Data Tables
<http://sitesurgeon.co.uk/tables/> 
Received on Wednesday, 6 February 2008 19:11:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:12 GMT