The <s> element marks information that is no longer accurate or relevant. Browsers normally show it with a line through the text.
<p><s>Tickets available at the door</s> Sold out</p>Tickets available at the door Sold out
Use <s> for information that is no longer current. Use <del> to identify content that was deleted as part of an edit or revision.
If you only want the visual effect, CSS is clearer:
.old-price { text-decoration: line-through; }
Existing S styling demo
No. It has a current semantic use for text that is no longer accurate or relevant.
S means no longer relevant or accurate; DEL represents a deletion from the document.
Yes, with text-decoration: line-through.
Use DEL for edits/deletions.
Do not rely on the visual strikethrough alone to communicate critical information.
Author & Instructor at plus2net
I write and maintain practical tutorials on Python, PHP, SQL, JavaScript, HTML, jQuery, and web development at plus2net. The tutorials focus on clear explanations, working examples, and code that readers can test and adapt while learning.