<ins>


HTML <ins> Tag

Instance

<!DOCTYPE html>
<html>
<head> 
<meta charset="utf-8"> 
<title>php中文网(php.cn)</title> 
</head>
<body>

<p>My favorite color is <del>blue</del> <ins>red</ins>!</p>

</body>
</html>

Run Example»

Click the "Run Instance" button to view the online instance


Browser support

1000.png

All major browsers support< ins> tag.


Tag definition and usage instructions

<ins> Tag definition is text that has been inserted into the document.


Tips and Notes

Tips: You can also look at the <del> tag that marks deleted text.

Tip: <del> is used together with <ins> to describe updates and corrections in the document. Browsers usually add a strikethrough over deleted text and an underline under newly inserted text.


Differences between HTML 4.01 and HTML5

None.


Properties

PropertiesValueDescription
citeURLSpecifies the URL of a document that explains why the text was inserted.
datetimeYYYY-MM-DDThh:mm:ssTZDSpecifies the date and time when the text is inserted.


Global attributes

<ins> tag supports global attributes of HTML.


Event attributes

<ins> tag supports HTML event attributes.