Name
del — <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
). Both can be used to indicate
either inline or block-level elements.
Attributes
Core, Internationalization, Events
cite="
URL
"
Can be set to point to a source document that explains why the document was changed.
datetime="
YYYY-MM-DDThh:mm:ssTZD
"
Specifies the date and time the change was made. Dates and times follow the format listed above 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), andss
is the second (00 through 59). The TZD stands for Time Zone Designator, and its value can beZ
(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.
Example
Chief Executive Officer:<del
title="retired">
Peter Pan</del>
<ins>Pippi Longstocking</ins>
Get HTML and XHTML Pocket Reference, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.