Knowledge baseExam Center
ENEnglish
Choose language13

CKTIS / HTML

ins — content added to a document

The ins element marks content added to a document. Optional datetime and cite attributes record the change date and a URL explaining it.

Version: WHATWG HTML Living Standard; index snapshot date recorded separately

Syntax

<ins datetime="YYYY-MM-DD" cite="URL">...</ins>

ins marks added content; del marks removed content. Both ins tags are required. Its content model is transparent: permitted content depends on the surrounding context.

Optional datetime accepts a valid date with optional time; cite accepts a URL explaining the change. Do not assume browsers expose this metadata as a visible date or link.

Avoid crossing implied paragraph boundaries; mark paragraphs explicitly with p. In lists, put ins inside li, not directly inside ul or ol. The example adds only and Tuesday; output gives the paragraph text.

Examples

<!doctype html>
<html lang="en">
<meta charset="utf-8">
<title>Insertion example</title>
<p>Available: Monday<ins datetime="2026-01-15"> and Tuesday</ins>.</p>
</html>

Result

Available: Monday and Tuesday.

The displayed code and declared result were verified in an isolated environment using the method recorded in the verification evidence for this exact version.

Sources