<del>
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
Sumário
O elemento HTML <del>
(ou Elemento HTML de Texto Excluído) representa uma parte do texto que foi excluída de um documento. Este elemento é (não necessariamente) renderizado pelos navegadores com uma linha entre o texto.
- Content categoriesPhrasing content or flow content.
- Permitted content Transparent.
- Tag omission Nenhuma, tanto a tag inicial quanto a final são obrigatórias.
- Permitted parent elements Any element that accepts phrasing content.
- DOM interface
HTMLModElement
Attributes
This element includes the global attributes.
cite
-
A URI for a resource that explains the change (for example, meeting minutes).
datetime
-
This attribute indicates the time and date of the change and must be a valid date with an optional time string. If the value cannot be parsed as a date with an optional time string, the element does not have an associated time stamp.
Examples
<p><del>This text has been deleted</del></p>
Result
~~This text has been deleted~~
Specifications
Specification |
---|
HTML Standard # the-del-element |
Compatibilidade com navegadores
BCD tables only load in the browser
See also
<ins>
element for insertions into a text