Correct syntax of Java applet
![qa-featured](https://www.techyv.com/sites/default/users/superadmin/qa-featured-300x270.png)
What is the basic syntax of Java Applet and how I can use Applet in my website? The Web site contains SQL But I want to use the Applet on my site.
![](https://techyv.com/sites/default/2016/10/techpedia_logo.png)
What is the basic syntax of Java Applet and how I can use Applet in my website? The Web site contains SQL But I want to use the Applet on my site.
The simplest way to use jsp: plugin is to supply four attributes: type, code, width and height.
You supply a value of applets for the type attributes and use the other attributes in exactly the same
way as with APPLET element, with two exceptions: the names are case sensitive, and single or double
Quotes are always required around the attribute value.
You may download the basic syntax of applet
The jsp:plug-in element has a number of other optional attributes.
In that way you can use the Applet plug-in in your website.