<INS>NN n/a   IE 4   HTML 4
<INS>...</INS>End Tag: Required
 

The INS element and its companion, DEL, define a format that shows which segments of a document's content have been marked up for insertion (or deletion) 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 INS attribute. Text contained by this element is rendered underlined (whereas DEL elements are in a strikethrough style). 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
CITENN n/a   IE n/a   HTML 4
CITE="string"Optional
 

A description of the reason for the change or other notation to be associated with the element, but normally hidden from view. This information is meant to be used by authoring tools, rather than by visual browsers.

 
Example
<INS CITE="Fixed the math --A.L.">seven</INS>
 
Value
Any string of characters. The string must be inside a matching pair of (single or double) quotation marks.
 
Default None.
DATETIMENN n/a   IE n/a   HTML 4
DATETIME="datetimeString"Optional
 

The date and time the insertion was made. This information is most likely to be added into a document with an HTML authoring tool designed to track content insertions and deletions. Data from this attribute can be recalled later as an audit trail to changes of the document. There can be only one DATETIME attribute value associated with a given INS element.

 
Example
<INS DATETIME="1998-09-11T20:03:32-08:00">SomeInsertedTextHere</INS>
 
Value
The DATETIME attribute requires a value in a special date-time format that conveys information about the date and time in such a way that the exact moment can be deduced from any time zone around the world. Syntax for the format is as follows:
yyyy-MM-ddThh:mm:ssTZD
yyyy Four-digit year
MM Two-digit month (01 through 12)
dd Two-digit date (01 through 31)
T Uppercase "T" to separate date from time
hh Two-digit hour in 24-hour time (00 through 23)
mm Two-digit minute (00 through 59)
ss Two-digit second (00 through 59)
TZD Time Zone Designator
There are two formats for the Time Zone Designator. The first is simply the uppercase letter "Z", which stands for UTC (Coordinated Universal Time--also called "Zulu"). The other format indicates the offset from UTC that the time shown in hh:mm:ss represents. This time offset consists of a plus or minus symbol and another pair of hh:mm values. For time zones west of Greenwich Mean Time (which, for all practical purposes is the same as UTC), the operator is a negative sign because the main hh:mm:ss time is earlier than UTC; for time zones east of GMT, the offset is a positive value. For example, Pacific Standard Time is eight hours earlier than UTC: when it is 6:00 P.M. in the PST zone, it is 2:00 A.M. the next morning at UTC. Thus, the following examples all represent the exact same moment in time (Time Zone Designator shown in boldface for clarification only):
1998-09-12T02:00:00Z UTC
1998-09-11T21:00:00-05:00 Eastern Standard Time
1998-09-11T18:00:00-08:00 Pacific Standard Time
1998-09-12T13:00:00+11:00 Sydney, Australia
For more details about this way of representing time, see the ISO-8601 standard.
 
Default None.
Hosted by uCoz