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 is html5 tag?

0 Answers  


Why do we need to study html?

0 Answers  


How to embed video and audio in html5?

0 Answers  


Explain caching in html5 and html?

0 Answers  


What is the difference between XML and HTML?

0 Answers  






What is a benefit of using the label element?

0 Answers  


Where is the navigation bar?

0 Answers  


Is xhtml a programming language?

0 Answers  


What is website with example?

0 Answers  


What can html5 do?

0 Answers  


How to open mail window from html ?

0 Answers  


What are the two basic tags in html list?

0 Answers  


Categories