|Contents||Inline elements, block-level elements|
|Contained in||Inline elements, block-level elements|
The INS element contains content that has been inserted. This element is useful in marking changes from one version of a document to the next. Through style sheets, authors can suggest an appropriate rendering, such as rendering the inserted content in italics, a different color, or a different voice.
INS may be used as either a block-level element or an inline element. If used as an inline element (e.g., within a P), then INS may not contain any block-level elements.
The optional CITE attribute of INS gives a URI with information on why the content was inserted. A brief explanation for the insertion can be given with the TITLE attribute, which may be rendered as a "tooltip" by some browsers.
The optional DATETIME attribute specifies the date and time of the insertion. The value is case-sensitive and of the form YYYY-MM-DDThh:mm:ssTZD. See the values section for a full explanation of this format.
An example follows:
<P>The CENTER element defines a block whose contents are centered horizontally on visual browsers. <INS CITE="http://www.w3.org/TR/REC-html40-971218/appendix/changes.html#h-A.1.2" DATETIME="1997-12-19T00:00:00-05:00">Note that CENTER is deprecated in HTML 4.0.</INS></P>