Posts in current category

HTML5 <ins> tag

May 03, 2021 16:00 HTML5

Table of contents

A piece of text with a deleted part and a newly inserted section:

<p>My favorite color is <del>blue</del> <ins>red</ins>!</p> 
Try it out . . .

Browser support

HTML5 <ins> tag HTML5 <ins> tag HTML5 <ins> tag HTML5 <ins> tag HTML5 <ins> tag

All major browsers support the label.

Label definition and instructions for use

The label definition has been inserted into the text in the document.

Tips and comments

Tip: You can also look at the hashtags that mark deleted text.

Tip: Use with slt;del> and slt;ins> to describe updates and fixes in the documentation. The browser typically adds a line of deletion to the deleted text and an underscore under the newly inserted text.

The difference between HTML 4.01 and HTML5



Property Value Describe
cite Url Specify the URL of a document that explains why text is inserted.
Datetime YYYY-MM-DDThh:mm:ssTZD Specifies the date and time the text is inserted.

Global properties

Labels support the global properties of HTML.

The event property

The tag supports the event properties of HTML.