HTML <ins> tag
Definition and Usage
Defines inserted text.
Differences Between HTML and XHTML
NONE
Tips and Notes
Tip: Use it together with the <del> tag to describe updates and
modifications to a document.
Example
| Source |
Output |
| a dozen is <del>20</del> <ins>12</ins> pieces! |
a dozen is 20 12 pieces! |
Optional 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 |
Standard Attributes
| id, class, title, style, dir, lang, xml:lang |
For a full description, go to Standard
Attributes.
Event Attributes
| onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup |
For a full description, go to Event
Attributes.
Try-It-Yourself Demos
Deleted and inserted text
How to mark deleted and inserted text in a document.
|