del cite attribute
Examples
Returns the URL of the document address is interpreted text is deleted:
var x = document.getElementById("myDel").cite;
x The output is:
http://www.example.com/example/why_deleted.htm
try it"
Definitions and use
cite cite attribute is used to set or return the property value to delete text.
cite attribute URL pointing to another document, because this document can be interpreted text is deleted. .
Note: cite property has no visual effect in an ordinary Web browser, but you can use screen readers.
Browser Support
All major browsers support cite attribute.
grammar
Back cite attributes:
delObject .cite
Setting cite attributes:
delObject .cite=URL
Property Value
Value | 描述 |
---|---|
URL |
定义了解释文本为什么被删除的URL文档地址。 Possible values:
|
Technical Description
return value: | String representing the URL of the source document |
---|
More examples
Examples
Modify cite attribute values:
document.getElementById("myDel").cite="http://www.example.com/whywedeletedsometext.htm";
try it"
Related Pages
HTML Reference Manual: HTML <del> auf cite attribute