HTML Tag for Deleted Text

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

cite and datetime attributes Top ↑

<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.

DEL vs S Top ↑

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.

Frequently Asked Questions Top ↑

What does DEL mean in HTML?

It identifies content deleted from the document.

Is DEL only for strikethrough styling?

No. Use CSS text-decoration if you only need a visual line-through effect.

What is the opposite of DEL?

INS represents inserted content.

Can DEL include datetime?

Yes. The datetime attribute can record when the change occurred.

DEL or S for an old price?

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.





plus2net.com










✖
We use cookies to improve your browsing experience. . Learn more
HTML MySQL PHP JavaScript ASP Photoshop Articles Contact us
© 2000-2026 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer