< html‎ | elements
Jump to: navigation, search


This page has been flagged with the following issues:

High-level issues:

W3C Recommendation


The <del> element indicates text that has been deleted from the document. Browsers normally strike a line through deleted text.

Overview Table

DOM Interface HTMLModElement


Besides the universal attributes the following attributes are supported:

The <cite> attribute may be used to specify the address of a document that explains the change. When that document is long, for instance the minutes of a meeting, authors are encouraged to include a fragment identifier pointing to the specific part of that document that discusses the change. If present, it must be a URL potentially surrounded by spaces that explains the change.
The <datetime> attribute may be used to specify the time and date of the change. If present, it must be a valid date string with optional time.


This example uses the <del>' element to mark deleted text.


<del datetime="1997-10-01T12:15:30-05:00">This text has been revised.</del>

View live exampleThis example uses <ins> and <del> elements to explain changes in a document


<p>I <del>am</del><ins>was</ins> on vacation in <del>France</del><ins>Italy</ins>.</p>
  <del>It is supposed to be sunny and hot.</del>
  <ins>It rained in France so we decided to go to Italy instead.</ins>

Typical browser default CSS properties for the <dl> element.


display: inline;
text-decoration: line-through;


While <s> and <del> appear to be similar, namely marking obsolete content, but they differ in semantics. <del> marks text that has been removed from the document, but <s> marks text that is to be kept in the document, but made clear that its content is no longer accurate.

For Internet Explorer 8 and later the value of the cite attribute depends on the current document compatibility mode.

Related specifications

Specification Status Related Changes
HTML 4.01 W3C Recommendation
HTML 5.1 W3C Editor's Draft



Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? ? ? ? ?


Feature Android BlackBerry Chrome for mobile Firefox Mobile (Gecko) IE Mobile Opera Mobile Opera Mini Safari Mobile
Basic support ? ? ? ? ? ? ? ?

See also

External resources


This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]