HTML CSS Reference/HTML Attributes Reference/code

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

"code" Example

    
<HTML>
<head><Title>Example For code</Title></head>
<BODY>
<applet id="myjavaclass" 
        code=yourjava.class 
        width=350 
        height=260>
        <param name="param1" value="1">
        <param name="param2" value="2">
</applet>
</BODY>
</HTML>



code is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |<applet>                        <object>                      |
+----------------+--------------------------------------------------------------+



"code" Syntax and Note

Note:
    
This attribute specifies the URL for the compiled Java class file.
    
Syntax:
    
<element code="value"> . . . </element>