HTML & CSS Wiki
Advertisement

The HTML <del></del> contains content that has been deleted. This element is useful in marking changes from one version of a document to the next. It creates a line through the text, similar to the <s> element. Through style sheets, authors can suggest an appropriate rendering, such as not displaying the deleted content or rendering the text with a strike-through style.


Attributes[]

  • cite - Gives a URI with information on why the content was deleted. A brief explanation for the deletion can be given with the title attribute, which may be rendered as a "tooltip" by some browsers.
  • datetime - Specifies the date and time of the deletion. The value is case-sensitive and uses the form YYYY-MM-DDThh:mm:ssTZD.

See Also[]

External Links[]

Advertisement