Horje

How to add HTML <ins> cite Attribute

An inserted text, with a URL to a document that explains why the text was inserted.

Definition and Usage

The cite attribute specifies a URL to a document that explains the reason why the text was inserted/changed.


Browser Support

Note: The cite attribute has no visual effect in ordinary web browsers, but can be used by screen readers.


Syntax

<ins cite="URL">

Attribute Values

Value Description
URL Specifies the address to the document that explains why the text was inserted/changed.

Possible values:

  • An absolute URL - Points to another web site (like cite="http://www.example.com")
  • A relative URL - Points to a page within a web site (like cite="example.html")
index.html
Example: HTML
<p>This is a text.
<ins cite="why_inserted.htm">This is an inserted text.</ins></p> 

Output should be:

How to add HTML <ins> cite Attribute




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Tag
Uploaded by:
Admin