Esta página foi traduzida do inglês pela comunidade. Saiba mais e junte-se à comunidade MDN Web Docs.
<del>
Baseline
Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since julho de 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 categories Phrasing 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> # the-del-element> |
Compatibilidade com navegadores
Loading...
See also
<ins>element for insertions into a text