Dofactory.com
Dofactory.com

HTML <ins> cite Attribute

The cite attribute on an <ins> tag sets a URL to a reference that explains the reason for the insertion.

The cite value has no visual effect but is readable by JavaScript, screen readers, search engines, and more.

Example

#

A cite attribute on an <ins> element. The citation contains a URL to a source that explains what HTTP stands for. This URL is not visible.

HTTP stands for Hypertext Translate Transfer Protocol.

<p>
  HTTP stands for Hypertext <del>Translate</del> 
  <ins cite="/html/tags">Transfer</ins> Protocol.
</p>

Using cite

The cite attribute specifies a link that explains why the content was inserted.

The URL is not visible, but it is readable by screen readers, search engines, JavaScript code, and others.

This attribute accepts absolute and relative URLs, i.e. from other domains and from the same domain.


Syntax

<ins cite="URL">

Values

#

Value Description
URL URL or path of the page that contains the explanation why the text was inserted.

Browser support

Here is when cite support started for each browser:

Chrome
1.0 Sep 2008
Firefox
1.0 Sep 2002
IE/Edge
1.0 Aug 1995
Opera
1.0 Jan 2006
Safari
1.0 Jan 2003

You may also like

 Back to <ins>

Last updated on Sep 30, 2023




Guides