The <del> element marks content that has been removed from a document. Browsers commonly render it with a strike-through, but its meaning is a document change, not merely decorative styling.
<p>Price: <del>$59</del> $49</p>Price: $59 $49
<del cite="change-log.html" datetime="2026-09-10">Old wording</del>cite can point to information explaining the change, and datetime can record when the deletion occurred.
Use <del> when text was deleted as part of an edit. Use <s> when text remains part of the document but is no longer accurate or relevant.
It identifies content deleted from the document.
No. Use CSS text-decoration if you only need a visual line-through effect.
INS represents inserted content.
Yes. The datetime attribute can record when the change occurred.
If the old price represents a document revision, DEL can fit. If it is simply no longer valid information, S may be more semantically appropriate.
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.