Skip to content

<del> - The Deleted Text Element

Inline HTML 4.0

The deleted text element represents text that has been deleted or removed from a document, typically displayed with a strikethrough.

Result
<del>deleted text</del>

The <del> element indicates text that has been removed during editing or revision.

AttributeDescriptionExample
citeURL explaining the deletioncite="https://example.com/changelog"
datetimeWhen deletion occurreddatetime="2024-12-11T10:30:00"
Result
Result
Result
Result
Result

Combine <del> with <ins> to show changes:

Result
Result

Important distinction:

<!-- Text that was removed/deleted -->
<p>Price: <del>$99</del> $79</p>
<p>Meeting: <del>Tuesday</del> Wednesday</p>

Use for content that has been removed during editing.

Customize the deleted text appearance:

Result
Result
Result
Result
Result
Result

Many screen readers announce deleted text as “deletion” or “removed,” helping users understand the content status.

Make sure the reason for deletion is clear:

<p><del>Contact support</del></p>

For enhanced accessibility:

<p>
<del aria-label="Removed: outdated information">
Old contact information
</del>
<ins aria-label="Added: current information">
New contact information
</ins>
</p>

The <del> element can wrap block-level content:

Result
BrowserVersionNotes
Chrome1+Full support
Firefox1+Full support
Safari1+Full support
Edge12+Full support
IE4+Full support

The <del> element has excellent browser support across all versions.