145

Sorry but I couldn't find this info. How do I strike the text?

2
  • 1
    The answer to the linked question answer your question. This is exactly why we keep duplicates around here. Someone searching with the terms you used will find the information now that it is linked. (Ideally it would have been closed before someone answered, thus avoiding duplicating the actual information.)
    – Mat
    Commented May 24, 2013 at 17:58
  • This question is definitely not a duplicate of the one that is linked. The one that is linked asks if markdown has a way to express strikeout, which is doesn't. It does NOT ask how to strike out text, or provide a clear answer on the way to do that.
    – spacetyper
    Commented Sep 17, 2015 at 16:24

2 Answers 2

198

You can strikethrough with the HTML tag <s> and the close tag </s>.

Like so

<s>Like so</s>

In chat this effect can be achieved with ---

---Like so---

Don't use it too often, though; it doesn't look very good.

4
  • 8
    But how to use it in comments ?
    – Tarik
    Commented Feb 17, 2015 at 15:54
  • 1
    @Tarik I'm fairly certain there's not a way to strike text in comments currently.
    – user206222
    Commented Feb 17, 2015 at 16:08
  • 4
    @Emrakul but why if we use some tools like this one: adamvarga.com/strike, we can do it like this T̶e̶x̶t̶, normally there should be a way to do it without using that tool
    – Tarik
    Commented Feb 17, 2015 at 16:11
  • 6
    @Tarik Please do not use that technique. Exploiting unicode characters creates a problem for people who use screen-readers.
    – sourcejedi
    Commented Jan 24, 2020 at 16:13
22

You can also use <strike>striking text</strike>. It's more typing but it works!

striking text

1
  • 1
    This is now deprecated as of HTML5
    – T.Woody
    Commented Nov 12, 2019 at 17:14

Not the answer you're looking for? Browse other questions tagged .