programme:- To view the drawn thing made through an applet on web page.
We have to only add the applet code in the html programme of that applet cartoon that we want to view on web page like this
<html>
<head>
<title>my first web page</title>
</head>
<body bgcolor="aqua">
<h1>hello in my first web page</h1>
<div >
<APPLET CODE="Main.class" WIDTH="800" HEIGHT="500">
</APPLET>
</body>
</html>
First of all write a simple html programme as i described earlier how to write a simple html programme and then only add the Applet code of that programme which you want to view on web page inbetween the html programme like above.Run it with google chrome and internet explorer
But make sure that plugin is must be supported on your browser.
We have to only add the applet code in the html programme of that applet cartoon that we want to view on web page like this
<html>
<head>
<title>my first web page</title>
</head>
<body bgcolor="aqua">
<h1>hello in my first web page</h1>
<div >
<APPLET CODE="Main.class" WIDTH="800" HEIGHT="500">
</APPLET>
</body>
</html>
First of all write a simple html programme as i described earlier how to write a simple html programme and then only add the Applet code of that programme which you want to view on web page inbetween the html programme like above.Run it with google chrome and internet explorer
But make sure that plugin is must be supported on your browser.
No comments:
Post a Comment