Example A text with a deleted part and a new inserted part: <p>My favorite color is <del>blue</del> <ins>re...
Example
A text with a deleted part and a new inserted part:<p>My favorite color is <del>blue</del> <ins>red</ins>!</p> |
Definition and Usage
The <ins> tag defines text that has been inserted into a document.Browser Support
The <ins> tag is supported in all major browsers.Note: None of the major browsers display the ins cite or datetime attribute correctly.
Differences Between HTML and XHTML
NONEOptional Attributes
DTD indicates in which DTD the attribute is allowed. S=Strict, T=Transitional, and F=Frameset.Attribute | Value | Description | DTD |
---|---|---|---|
cite | URL | A URL to another document which explains why the text was inserted | STF |
datetime | YYYYMMDD | Defines the date and time when the text was inserted | STF |