SiteExperts.com Logo Home | Community | Developer's Paradise
User Groups | Site Tools | Site Information | Search
 Main Menu
 HTML Online

Block Elements

Inline Elements
  Phrase Elements
  Revision Marks
  Super and Subscript
  Quotations
  Generic Containers

Navigation Elements

 


Sponsored Links

Inline Elements - Revision Marks

HTML 4.0 introduces two new phrase elements for specifying revisions to your document. The <INS> and <DEL> elements can be useful for tracking changes to a page. Both of these elements have a default rendering to help visually distinguish insertions and deletions. As with all phrase elements, this rendering is merely a browser default and can be customized using a style sheet.

Currently IE4 is the only browser that supports INS and DEL. These elements have no effect on other browsers

Both <INS> and <DEL> have two attributes that help track the changes:

cite = uri
The value of this attribute is a URI that designates a source document or message. This attribute is intended to point to information explaining why a document was changed.
datetime = datetime
The value of this attribute specifies the date and time when the change was made.

Currently Internet Explorer 4.0 does not do anything with these attributes, but they are accessible from script. For example, in this paragraph clicking on the following Inserted Text displays the date and time the contents were inserted. The syntax for defining a datetime is specified by ISO8601 and in the HTML 4.0 specification.

Super and Subscript...

Copyright © 1997-2008 InsideDHTML.com, LLC. All rights reserved.