Name
<DEL> — NN n/a IE 4 HTML 4
Synopsis
<DEL>...</DEL>
End Tag: Required
The DEL
element and its companion,
INS, define a format that shows which segments of
a document’s content have been marked up for deletion (or
insertion) during the authoring process. This is far from a workflow
management scheme, but in the hands of a supporting WYSIWYG HTML
authoring tool, these elements can assist in controlling generational
changes of a document in process.
Among the Version 4 browsers, only Internet Explorer supports the
DEL element. Text contained by this element is
rendered as a strikethrough style (whereas INS
elements are underlined). The HTML 4.0 specification includes two
potentially useful attributes (not in IE 4) for preserving hidden
information about the date and time of the alteration and some
descriptive text about the change.
Example
<P>Four score and <DEL CITE="Fixed the math">eight</DEL><INS>seven</INS> years ago...</P>
Object Model Reference
- IE
[window.]document.all.elementID
Attributes
|
|
|
|
|
|
|
|
|
|
|
Event Handler Attributes
|
Handler |
NN |
IE |
HTML |
|---|---|---|---|
onClick |
n/a |
4 |
4 |
onDblClick |
n/a |
4 |
4 |
onDragStart |
n/a |
4 |
n/a |
onHelp |
n/a |
4 |
n/a |
onKeyDown |
n/a |
4 |
4 |
onKeyPress |
n/a |
4 |
4 |
onKeyUp |
n/a |
4 |
4 |
onMouseDown |
n/a |
4 |
4 |
onMouseMove |
n/a |
4 |
4 |
onMouseOut |
n/a |
4 |
4 |
onMouseOver |
n/a |
4 |
4 |
onMouseUp |
n/a |
4 |
4 |
onSelectStart |
n/a |
4 |
n/a |
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