English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

HTML 参考手册

HTML 标签大全

HTML ins cite 属性

HTML ins cite 属性指定文档的URL,该URL解释了插入/更改文本的原因,cite 属性在普通的Web浏览器中没有视觉效果,但是可以由屏幕阅读器使用。

 HTML <ins> Tag

在线示例

插入的文本,带有指向该文本插入原因的文档的URL:

!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>HTML <ins> cite 属性使用-基础教程(oldtoolbag.com)</title>
</head>
<body>
<p>This is a text.
<ins cite="why_inserted.html">This is an inserted text.</ins>/ins></p>
</body>
</html>
Test see ‹/›

Browser Compatibility

IEFirefoxOperaChromeSafari

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

Definition and Usage

The cite attribute specifies the URL of the document that explains the insertion/Changes the reason for the text.

HTML 4.01 and HTML5Differences between

None.

Syntax

<ins cite="URL">

Attribute value

ValueDescription
URLSpecifies why the text was inserted/Changes the document address of the text.
Possible values:
Absolute URL-Points to another website (for example cite =" http://www.example.com"
Relative URL-Points to a page within the site (for example cite ="example.html")
 HTML <ins> Tag