description & Usage
<del> stands for delete. It's used to denote deleted text within a document.
Browsers typically show text wrapped in <del> tags with a line through the middle to indicate that it has been removed.
For example, in product discounts, shops often put the original price in <del> tags and strike it through.
Generally, when the <del> tag is used to remove text from the document. The new value replaced by the document is placed in the <ins> tag. See the <ins> tag page for more information.
Browser compatibility and Support
| # | Chrome | Edge | Firefox | Safari | Opera |
|---|---|---|---|---|---|
| <del> |
Attributes
| Attributes | Values | Description |
|---|---|---|
| cite |
URL
|
Specifies the URL or link that explains the quote. |
| datetime |
YYYY-MM-DDThh:mm:ssTZD
|
Places the date and time in the corresponding tags on the right. |
Global Attributes
The <del> tag supports the HTML Global Attributes.
Event Attributes
The <del> tag supports the HTML Event Attributes.
Default CSS
Most browsers will display the <del> tag with the following default style: