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

List out image related elements in html5?

593


Why do we use html?

632


How to insert a copyright symbol on a browser page?

654


What is the difference between an

and
in html5?

618


What is innerhtml?

611


What are the new input types provided by HTML 5 for forms?

588


What is difference between html5 and html4?

593


What are tags and attributes?

594


What is dom in browser?

613


What is hyperlink? Why it is used?

640


How to create and access sessionstorage object in html?

653


What is the difference between the svg and canvas tag in html5?

632


How can I display an image on my page?

619


What is called in html?

628


What is html6?

702