The Web Design Group

ins - Inserted Text

Syntax <ins>...</ins>
Attribute Specifications
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="" datetime="1997-12-19T00:00:00-05:00">Note that center is deprecated in XHTML 1.0.</ins></p>

More Information