<del>
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 (en-US)Phrasing content (en-US) or flow content (en-US).
- Permitted content Transparent (en-US).
- Tag omission None, both the starting and ending tag are mandatory.
- Permitted parent elements Any element that accepts phrasing content (en-US).
- DOM interface
HTMLModElement
(en-US)
Attributes
This element includes the global attributes (en-US).
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 | Status | Comment |
---|---|---|
HTML Living Standard The definition of '<del>' in that specification. |
Padrão em tempo real | |
HTML5 The definition of '<del>' in that specification. |
Recomendação | |
HTML 4.01 Specification The definition of '<del>' in that specification. |
Recomendação |
Compatibilidade com navegadores
BCD tables only load in the browser
See also
<ins>
element for insertions into a text