What is the tag Code Base and why do we use it?



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

Post New Answer

More HTML DHTML Interview Questions

What does b mean in code?

0 Answers  


How do I get a counter?

1 Answers  


What is html email format?

0 Answers  


Explain HTML-5 Drag and Drop Features?

0 Answers   HCL,


What is the advantage of grouping several checkboxes together?

0 Answers  






How do I know if an image has an alt tag?

0 Answers  


Is script a self closing tag?

0 Answers  


What means dhtml?

0 Answers  


What is browser in html?

0 Answers  


What are the new features provided in HTML5?

0 Answers  


My hyperlink or image is not displaying correctly, what is wrong with it?

0 Answers  


How do you refer to the .css file in the web page?

0 Answers  


Categories