Name
ins — HTML 4.01 | HTML5
Synopsis
<ins> . . . </ins>
Indicates text that has been inserted into the document. It may
be useful for legal documents and any instance in which edits need to
be tracked. Its counterpart is deleted text (del
). The ins
element may indicate either inline or
block-level elements; however, when used as an inline element (as
within a p
), it may not insert
block-level elements because that would violate nesting rules.
Start/End Tags
Required/Required
Attributes
Core, Internationalization, Events, HTML5 Global Attributes
cite="
URL
"
Can be set to point to a source document that explains why the document was changed.
datetime="
YYYY-MM-DDThh:mm:ssTZD
"
Specifies the date and time the change was made. See del for an explanation of the date/time format.
Example
<li>Chief Executive Officer: <del title="retired">Peter Pan </del><ins>
Pippi Longstocking</ins>
</li>
Get HTML & XHTML Pocket Reference, 4th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.