🚀 LEVEL UP TO SENIOR:Unlock 500+ Advanced Practical Challenges & Expert Masterclasses.
🎓 COURSERA PARTNER:Earn professional Google, Meta, and IBM certificates to supercharge your resume.
REFERENCEhtml

html Documentation

LOADING ENGINE...

HTML <s> Tag

Mark content that is no longer accurate or relevant. Learn s tag and strikethrough semantics.

s.html
<!-- Strikethrough -->
<p>Price:
<s>99</s>
79</p>
✂️
s.html
1 / 7
✂️

Tutor:The <s> tag represents content that is no longer accurate or relevant. Browsers typically render it with a strikethrough. Use it for old prices, deprecated info, or text you want to show but mark as outdated.


S Mastery

Unlock nodes by learning the s tag and strikethrough semantics.

Concept 1: The S Tag

The <s> tag marks content that is no longer accurate or relevant. Browsers render it with a strikethrough. Use it for old prices, deprecated labels, or obsolete text.

System Check

Which element marks content as no longer accurate or relevant (strikethrough)?


Community Holo-Net

Share Strikethrough Patterns

Using <s> for old prices or deprecated text? Share your patterns.

Enjoying this guide?

Codesyllabus is 100% free and open-source. Support our mission, pay for server infrastructure, and fuel new tutorials by buying us a coffee!

HTML <s> Tag

Author

Pascual Vila

Frontend Instructor.

The <s> tag represents content that is no longer accurate or relevant. Browsers typically render it with a strikethrough. Use it for old prices, deprecated labels, or text you want to show but mark as outdated—not for edit history (use <del> for that).

s vs del

<s> indicates that the content is no longer correct or relevant. <del> represents deleted content in a change or edit history and can have cite and datetime attributes. Use <s> when you only need to show that something is outdated; use <del> when you are documenting a deletion.

Best practices

Use <s> for semantic strikethrough: old prices, obsolete terms, or labels that no longer apply. Prefer <s> over plain CSS strikethrough when the meaning “no longer accurate” matters for accessibility and SEO.

S Tag Glossary

<s>
HTML element for content that is no longer accurate or relevant. Rendered with strikethrough. Use for old prices, deprecated info, or obsolete labels.
<del>
Element for deleted content in an edit or change history. Can have cite and datetime. Use <s> for “no longer correct”; use <del> for “removed” in a revision.
Strikethrough
Visual style (line through text). <s> provides both the style and the semantic meaning “no longer accurate or relevant.”