Name
<del> — NN 6 MSIE 4, 5, 5.5, 6 HTML 4.01 Opera5
Synopsis
<del>...</del>
Indicates deleted text. It has no inherent style qualities on its own
but may be used to hide deleted text from view or display it as
strike-through text via style sheet controls. It may be useful for
legal documents and any instance where edits need to be tracked. Its
counterpart is inserted text
(<ins>). Both can be used to indicate either
inline or block-level elements.
Attributes
-
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
YYYYis the four-digit year,MMis the two-digit month,DDis the day,hhis the hour (00 through 23),mmis the minute (00 through 59), andssis the seconds (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 http://www.w3.org/TR/1998/NOTE-datetime-19980827.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access