Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
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).
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.
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.
@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>.
I'm going off to surround all images in all of my previous answers and questions with <kbd> tags. Ta!
– user1228
CommentedNov 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.
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
CommentedNov 20, 2014 at 23:13
...why remove the 'kthnxbye'? How much bandwidth could that little phrase possibly cost? @InfiniteRecursion
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.
<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.
s
anddel
really mean in HTML5.<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>
.<s>
element.<del>
if that part of message was edited, and<s>
if not? <s>I am sure SE is ready to take the hassle...</s>s
anddel
really mean in HTML5.<kbd>
tags. Ta!strike
. In fact,s
is just an old synonym forstrike
. 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.<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.