<html> <! This web page contains the information about welcome title> <head> <title> Welcome to the java </title> </head> <Body> <Center> <h2> welcome </h2> </center> <applet> </applet> </body> </html>
Applet Programming
Applet Tag: This tag supplies the name of
the applet to be loaded and tells the browser how much space the applet requires. <applet Code=hello.class Width=400 Height=200> </applet>
Applet Programming
<html> <! This web page contains the information about welcome title> <head> <title> Welcome to the java </title> </head> <Body> <Center> <h2> welcome </h2> </center> <applet Code=hello.class Width=400 Height=200> </applet> </body> </html>
HTML File
<html> <! Html file > <head> <title> welcome </title> </head> <body> <applet code=hello.class Width=400 Height=200> <param name=string Value=applet> </applet> </body> </html>