3

So... in chat, when we use the strike-through text like this with ---this---, it is wrapped in the strike tags which are now obsolete. This is extremely irritating! Why not use s or del? (I would prefer the former).

Example:
13
  • 2
    It should be <del>, not <s>. On the link you just posted: However, <s> is not appropriate when indicating document edits; for that, use the <del> and <ins> elements, as appropriate. Commented Nov 20, 2014 at 18:39
  • 2
    What is irritating about it? It hardly affects anything except to these that look at the source code. Besides, nobody knows, in a communicable way, what s and del really mean in HTML5. Commented Nov 20, 2014 at 18:40
  • 2
    @FlorianMargaine <del> seems appropriate for messages that were deleted (or edited to remove content), where <s> seems semantically correct for text that was struck-through from the beginning. Regardless, either is far better than the deprecated <strike>.
    – ssube
    Commented Nov 20, 2014 at 18:46
  • 2
    @FlorianMargaine It's not possible to determine that context in a chat message, therefore it's more appropriate to use the more generic <s> element.
    – animuson StaffMod
    Commented Nov 20, 2014 at 18:46
  • How about <del> if that part of message was edited, and <s> if not? <s>I am sure SE is ready to take the hassle...</s> Commented Nov 20, 2014 at 18:49
  • 2
    @JukkaK.Korpela I, among many, know in a communicable way, what s and del really mean in HTML5. Commented Nov 20, 2014 at 18:51
  • I'm going off to surround all images in all of my previous answers and questions with <kbd> tags. Ta!
    – user1228
    Commented Nov 20, 2014 at 19:21
  • @AwalGarg, they have exactly the same effect as strike. In fact, s is just an old synonym for strike. Their verbal descriptions in HTML5 are vague and obscure (what does it mean to be “no longer relevant”?), and there are no objective criteria for deciding whether some struck-out text should be marked with one of them or another. And it would be idle “semantics”, since the choice between has no effects. Commented Nov 20, 2014 at 22:10
  • @Won't Ugh, you're going to be one of those people. See you on the dark sid... oh wait...
    – hichris123
    Commented Nov 20, 2014 at 23:00
  • There are people who <s>take obscene pleasure</s> enjoy writing under deletion. <del>, being a semantic markup may change how that is rendered when the physical markup style may be the correct one. It does not represent a document change history.
    – user213963
    Commented Nov 20, 2014 at 23:13
  • ...why remove the 'kthnxbye'? How much bandwidth could that little phrase possibly cost? @InfiniteRecursion Commented Nov 22, 2014 at 17:45
  • 2
    If two editors ( @hichris and I) removed it, then it's fairly evident that bandwidth isn't the concern in this case. kthnxbye is noise, and therefore it has been edited out. Commented Nov 23, 2014 at 8:26
  • noise is gooood Commented Nov 27, 2014 at 8:40

0

You must log in to answer this question.

Browse other questions tagged .