<ins>

Browser
  • IE
  • Cr
  • Sf
  • Fx
  • O
Type

The INS element defines inserted text.


<ins>inserted text</ins>

This element changes into a block-level element or an inline element by the situation.

When a block-level element is included in the content of this element
This element is treated as a block-level element.
When a block-level element is not included in the content of this element
This element is treated as an inline element.

Example


<p>Normal text, <ins>Inserted text,</ins> Normal text,</p>

Output

Normal text, Inserted text, Normal text,

In the following cases, this INS element is treated as a block-level element.


<ins>
<p>Inserted text</p>
</ins>

Output

Inserted text

In the following cases, this INS element is treated as an inline element.


<ins>
<u>Inserted text</u>
</ins>

Output
Inserted text

<p>I started playing baseball in <del>2000</del> <ins>2001</ins>.</p>

Output

I started playing baseball in 2000 2001.