<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
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
Properties | Value | Description |
---|---|---|
cite | URL | Specifies the URL of a document that explains why the text was inserted. |
datetime | YYYY-MM-DDThh:mm:ssTZD | Specifies 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.