HTML CSS Reference/HTML Attributes Reference/data

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

"data" Example

    
<HTML>
<head><Title>Example For data</Title></head>
<BODY>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
        data="http://yourdownloadwebsite/"
        width="480" 
        height="240">
        <param name="movie" value="yourflashmovie.swf">
        <param name="quality" value="high">
        <embed src="yourflashmovie.swf" 
               quality="high"
               pluginspage="http://yourdownloadwebsite"
               width="480" 
               height="240">
        </embed></object>
</BODY>
</HTML>



data is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |<comment> (IE6 only)            <object>                      |
+----------------+--------------------------------------------------------------+



"data" Syntax and Note

Note:
    
This attribute establishes the URL that references the data of the 
<comment> or <object> elements.
    
Syntax:
    
<element data="value"> . . . </element>