del

Specifies that the enclosed text has been deleted.

Platform Support

IENetscapeMozillaOperaSafari
4.0+6.0+1.0+7.0+1.0+

Example

This example shows that the phrase "and a pug" has been deleted:

I like dogs. I have a lab <del> and a pug</del>. 

Remarks

The <del></del> tag only style text to visually show deletions. It does not actually delete the enclosed text.

Attribute Detail

AttributeIENetscapeMozillaOperaSafari
accesskey
[key].
Hot-key shortcut for the element.
5.5+nonono1.0+
 
cite
[url]
URL for the source of the quote.
2.0+1.0+1.0+4.0+1.0+
 
class
[class-name]. Example values: header-class, list-element, etc.
CSS class assigned to the element.
2.0+1.0+1.0+4.0+1.0+
 
Specifies whether or not the content of the element is editable, or if the element inherits the value of this property from its parent.
4.0+nonono1.0+
 
datetime
[yyyy-mm-ddthh:mm:ssTime-zone]
Specifies the date and time that the element was modified.
4.0+6.0+1.0+7.0+1.0+
 
Direction of the element text.
2.0+1.0+1.0+4.0+1.0+
 
Specifies whether or not the element is disabled.
2.0+1.0+1.0+4.0+1.0+
 
id
[element-id]
Unique identifier for the element.
2.0+1.0+1.0+4.0+1.0+
 
lang
[language-code]. Example values: "en" (English), "fr" (French), "es" (Spanish), etc.
Language code for the content of the element.
2.0+1.0+1.0+4.0+1.0+
 
Script language for the element.
3.0+2.0+1.0+no1.0+
 
style
[style-name]
Inline style for the element.
2.0+1.0+1.0+4.0+1.0+
 
tabindex
[number]
Position of the element in the tabbing order for the document.
2.0+1.0+1.0+4.0+1.0+
 
title
[text-description]
Short text description for the element.
2.0+1.0+1.0+4.0+1.0+
 
Specifies whether or not the element is unselectable.
5.5+nononono
 

Event Detail

EventIENetscapeMozillaOperaSafari
Fires immediately before the element receives focus prior to being edited.
4.0+nononono
 
Fires when the element loses focus.
2.0+1.0+1.0+4.0+1.0+
 
Fires when the element is clicked.
2.0+1.0+1.0+4.0+1.0+
 
Fires when the element is double-clicked.
2.0+1.0+1.0+4.0+1.0+
 
Fires when the element is dragged.
4.0+nonono1.0+
 
Fires when the element is released from being dragged.
4.0+nonono1.0+
 
Fires when the element has another object dragged onto it that can be dropped on the element.
4.0+nonono1.0+
 
Fires when an element has an object dragged out of it that could be dropped onto the element.
4.0+nonono1.0+
 
Fires when an element has an object dragged over it that could be dropped onto the element.
4.0+nonono1.0+
 
Fires immediately before an element is dragged.
4.0+nonono1.0+
 
Fires when an object is dropped onto the element.
4.0+nonono1.0+
 
Fires when the element receives focus.
2.0+1.0+1.0+4.0+1.0+
 
Fires when a user presses down on a key while the element has focus.
2.0+1.0+1.0+4.0+1.0+
 
Fires when a user presses a key or holds down the key while the element has focus.
2.0+1.0+1.0+4.0+1.0+
 
Fires when a user releases a key while the element has focus.
2.0+1.0+1.0+4.0+1.0+
 
Fires when a user clicks down on the mouse button while the element has focus.
2.0+1.0+1.0+4.0+1.0+
 
Fires when the mouse moves while the pointer over the element.
2.0+1.0+1.0+4.0+1.0+
 
Fires when the mouse pointer moves off of the element.
2.0+1.0+1.0+4.0+1.0+
 
Fires when the mouse pointer moves over the element.
2.0+1.0+1.0+4.0+1.0+
 
Fires when the user releases the mouse button while the element has focus.
2.0+1.0+1.0+4.0+1.0+
 
Fires when the ready state of the element changes.
4.0+nononono
 
Fires immediately before the element is selected.
4.0+nonono1.0+
 
Fires when a time-related error occurs.
4.0+nononono
 

Availability

W3C HTML 4.01

text_html aptana_docs