HTML <del> and <ins> Elements
These two elements are designed to illustrate changes made between two different versions of a document - one being an update of the other.
Example:
My favourite year was <del>1982</del><ins>
2004</ins>
Result:
My favourite year was 1982 2004
In their current versions Internet Explorer, Firefox, Chrome and Safari put a line through deleted text and underline inserted text.
<del> and <ins> Attributes
- CORE AND LANGUAGE ATTRIBUTES - class, id, title, style, dir, lang
- MOUSE AND KEYBOARD EVENT ATTRIBUTES - onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmouseout, onmousemove, onkeydown, onkeyup, onkeypress
- *cite - designed to contain information about why the document has been changed.
- *datetime - designed to contain the date and time of when the document was changed.
* NOTE: None of the major browsers respond to the cite or datetime attributes in any way.
HTML 4 Element List
<!--<comment>--><!DOCTYPE><a><abbr><acronym><address><applet><area><b><base><basefont><bdo><big><blockquote><body><br><button><caption><center><cite><code><col><colgroup><dd> <del><dfn><dir><div><dl><dt><em><fieldset><font><form><frame><frameset><head><h1> to <h6><hr><html><i><iframe><img><input> <ins><isindex><kbd><label><legend><li><link><map><menu><meta><noframes><noscript><object><ol><optgroup><option><p><param><pre><q><s><samp><script><select><small><span><strike><strong><style><sub><sup><table><tbody><td><textarea><tfoot><th><thead><title><tr><tt><u><ul><var>
