JavaScript Reference/Javascript Properties/cite

Материал из Web эксперт
Перейти к: навигация, поиск

"cite" Example

    
<html>
<body>
<q id="myQ" 
   cite="http://www.wbex.ru/">
wbex.ru
</q>
<br>
<input type="button" value="Value of Cite Property" onclick="alert(myQ.cite);">
</body>
</html>



"cite" is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |<blockquote>                    <del>                         |
|                |<dfn>                           <ins>                         |
|                |<q>                                                           |
+----------------+--------------------------------------------------------------+



"cite" Syntax and Note

Note:
Read and write property. 
Specifies the URL of the quotation source.
    
Syntax:
    
document.getElementById("elementID").cite = value
document.all.elementID.cite = value // IE only