What is the tag Code Base and why do we use it?
Answer / r
After writing and compiling a Java applet, you can display
it in a web page by using the APPLET tag. The CODE attribute
specifies the name of the Java applet to run. The CODEBASE
attribute specifies the subdirectory or folder containing
the Java applet. You can use PARAM tags between the <APPLET>
and </APPLET> tags to provide information about parameters,
or arguments, to be used by the Java applet.
Syntax
<APPLET
CODE=”classFileName”
CODEBASE=”classFileDirectory”
ARCHIVE=”archiveFile”
ALT=”altText”
ALIGN=”LEFT”
| Is This Answer Correct ? | 1 Yes | 1 No |
What are features of HTML5?
. What is the purpose of the <!DOCTYPE> declaration?
Can we modify the attribute's value of the html tag dynamically?
Explain HTML Iframes?
What is purpose of watchPosition() method of geolocation object of HTML5?
Why do I have to use these namespace things in XHTML?
How do I know if an image has an alt tag?
What is emphasized text?
Is html5 better than flash?
What are web workers and why do we need them ?
What is body in HTML document?
What is applet code?