View video tutorial

HTML <ins> Tag

HTML

The <ins> tag is used to define inserted text.

HTML <ins> Tag


The <ins> element represents a range of text inserted into a document.

The inserted text has been rendered as underlined and can be modified using CSS.

Element Attributes

Attribute Value Description
cite url This specifies a URL in a document that explains why the text was inserted/changed.
datetime YYYY-MM-DDThh:mm:ssTZD This attribute indicates the date and time of the change, along with an optional time string.

Global attributes

Global attributes may be applied on all elements, although some elements may have no effect on them.

<accesskey>, <class>, <contenteditable>, <contextmenu>, <data-*>, <dir>, <draggable>, <dropzone>, <hidden>, <id>, <lang>, <spellcheck>, <style>, <tabindex>, <title>, <translate>.

Learning with HTML Editor "Try it Now"

You can edit the HTML code and view the result using online editor.

Example

<p><ins>This element represents a range of text inserted into a document.</ins></p>
<p>My favorite drink is <del>coffee</del> <ins>tea</ins>!</p>
Try it Now »

Click on the "Try it Now" button to see how it works.