I am trying to embed applet in html code but unable to do so. Problem is that I have a class file, which is compiled java file. Please help me to embed this class file to html file.
Thank you
I am trying to embed applet in html code but unable to do so. Problem is that I have a class file, which is compiled java file. Please help me to embed this class file to html file.
Thank you
Its pretty simple if you are using dreamweaver. If you are using other software then here it is a code by which you can embed an applet.
Hope it helps.HTML Code:<applet code="yourfile.class" width=400 height=400> </applet>
i think its simple....
just write this in html language...
"<applet code = filename.class width = any height = any>
</applet>" <-- For clsing the applet
height and width you can give by your choice....
and always "filename" of your program with extension class.
because of class file.....
![]()
in notepade you right
<applet code="filename.class" width=500 height=500>
</applet>
then save it.
openwith internet.
ok
width & height parameter can be any number.
When you put an applet on your page you will need to save the applet on your server as well as the HTML page the applet is embedded in. When the page is loaded by a visitor the applet will be loaded and inserted on the page where you embedded it
online casino
Please press "Thanks" Button, Don't Say "Thanks"
Write in HTML file,
where MyApplet is your
java compiled class file.
<Html>
<Head>
<Title>Java Example</Title>
</Head>
<Body>
This is my page<br>
Below you see an applet<br>
<br>
<Applet Code="MyApplet.class" width=200 Height=100>
</Applet>
</Body>
</Html>
Bookmarks