del

FilterElements

<del> ... </del>

Indicates deleted text. It may be useful for legal documents and any instance where edits need to be tracked. Its counterpart is the inserted text element (ins). The del element may be used to indicate either inline or block-level elements.

Start/End Tags

Required/Required

Specifications

  • HTML 4.01
  • HTML5

cite=

Values: URL
Can be set to point to a source document that explains why the document was changed.

datetime=

Values: YYYY-MM-DDThh:mm:ssTZD
Specifies the date and time the change was made. Dates and times follow the format shown here where YYYY is the four-digit year, MM is the two-digit month, DD is the day, hh is the hour (00 through 23), mm is the minute (00 through 59), and ss is the second (00 through 59). TZD stands for Time Zone Designator, and its value can be Z (to indicate UTC, Coordinated Universal Time), an indication of the number of hours and minutes ahead of UTC (such as +03:00), or an indication of the number of hours and minutes behind UTC (such as −02:20).
This is the standard format for date and time values in HTML. For more information, see www.w3.org/TR/1998/NOTE-datetime-19980827.
Chief Executive Officer: <del title="retired" datetime="2010-08-01T14:09:00EDT">Peter Pan</del> <ins>Pippi Longstocking</ins>

Rendered Example

Chief Executive Officer: Peter Pan Pippi Longstocking