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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Which doctype is correct for html5?

482


Which methods are used to draw a straight line on a Canvas?

463


Is html front end?

448


What is dynamic website with example?

459


What happens if the number of values in the rows or cols attribute doesn’t add up to 100 percent?

615






Why xhtml is needed?

426


Explain HTML Iframes?

494


What is the difference between XML and HTML?

529


What are some of the common lists that can be used when designing a page?

470


Is br an empty tag?

436


What is web page in html?

449


What is mod and div?

461


What is a href?

445


Write an HTML table tag sequence that outputs the following:

478


Should you use mailto links?

457