HTML and CSS Reference
In-Depth Information
N OTE MSDN documentation for this element appears incorrect for event handlers. Not all core
events are listed, but during testing they all worked. Other extended events like onbeforecopy ,
oncopy , oncontextmenu , and more were also verified as functional under Internet Explorer 8.
Element-Specific Attributes
cite The value of this attribute is a URL that designates a source document or message that
might explain why the information was deleted.
datetime This attribute is used to indicate the date and time the deletion was made. The value
of the attribute is a date in a special format as defined by ISO 8601. The basic date format is
YYYY-MM-DDThh:mm:ssTZD
where the following is true:
YYYY=four-digit year such as 1999
MM=two-digit month (01=January, 02=February, and so on.)
DD=two-digit day of the month (01 through 31)
hh=two-digit hour (00 to 23) (24-hour clock, not AM or PM)
mm=two-digit minute (00 through 59)
ss=two-digit second (00 through 59)
TZD=time zone designator
The time zone designator is either Z , which indicates Universal Time Coordinate or
coordinated universal time format (UTC), or + hh : mm , which indicates that the time is a local
time that is hh hours and mm minutes ahead of UTC. Alternatively, the format for the time
zone designator could be - hh : mm , which indicates that the local time is behind UTC. Note
that the letter T actually appears in the string, all digits must be used, and 00 values for
minutes and seconds might be required. An example value for the datetime attribute
might be 1999-10-6T09:15:00-05:00 , which corresponds to October 6, 1999, 9:15 A . M .,
U.S. Eastern Standard Time.
Example
<p><del cite="http://www.democompany.com/changes/oct.html"
datetime="2008-10-06T09:15:00-05:00">
The penalty clause applies to client lateness as well.
</del> <ins> No more penalties </ins></p>
Compatibility
HTML 4, 4.01, 5
XHTML 1.0, 1.1
Firefox 1+, Internet Explorer 4+,
Netscape 6+, Opera 7+, Safari 1+
Notes
• Browsers can render deleted ( <del> ) text in a different style to show the changes
that have been made to the document. Internet Explorer renders the deleted text as
strikethrough text. Eventually, a browser could have a way to show a revision
history on a document.
Search WWH ::




Custom Search