<s>...</s>

HTML4 HTML5

Strikethrough text contained between opening <s> and closing </s> tags[cite: 3].

Both opening and closing tags are mandatory[cite: 3].

In HTML 4.01, the <s> tag was deprecated[cite: 3]. In HTML 5 it returned, and its usage is recommended for marking text on a page that is no longer correct[cite: 3].

Example

Code:

<p><s>I will pass the exam with top grade.</s></p>

<p>I managed to pass the exam.</p>

The browser will interpret this code as follows:

I will pass the exam with top grade.

I managed to pass the exam.