English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
HTML ins cite 属性指定文档的URL,该URL解释了插入/更改文本的原因,cite 属性在普通的Web浏览器中没有视觉效果,但是可以由屏幕阅读器使用。
插入的文本,带有指向该文本插入原因的文档的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 ‹/›
IEFirefoxOperaChromeSafari
The cite attribute has no visual effect in ordinary web browsers, but can be used by screen readers.
The cite attribute specifies the URL of the document that explains the insertion/Changes the reason for the text.
None.
<ins cite="URL">
Value | Description |
---|---|
URL | Specifies 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") |