HTML: The Markup Language Reference

insinserted text # T

The ins element represents a range of text that has been inserted (added) to a document.

Permitted contents #

Permitted attributes #

global attributes
Any attributes permitted globally.
cite = URL potentially surrounded by spaces #
The address of a document that explains why the text was added.
datetime = date and time #
The date and time when the text was added.
A valid date-time as defined in [RFC 3339], with these additional qualifications:
  • the literal letters T and Z in the date/time syntax must always be uppercase
  • the date-fullyear production is instead defined as four or more digits representing a number greater than 0



Tag omission #

An ins element must have both a start tag and an end tag.

Permitted parent elements #

any element that can contain phrasing elements, any element that can contain flow elements

DOM interface #

interface HTMLModElement : HTMLElement {
           attribute DOMString cite;
           attribute DOMString dateTime;

Typical default display properties #

ins {
text-decoration: underline; }