WHEN THE APPLET VIEWER OPENS AN HTML DOCUMENT WITH MORE THAN ONE
Q11-The name of any applet called using CODE within an HTML document must use the. You can place 3 attributes within the tag: CODE, WIDTH, and HEIGHT. Q10- The ending half of any HTML tag pair is preceded with a backslash. Q9- All HTML commands are surrounded by angle brackets. To run an applet from within an HTML document, you add the and tags to your HTML document. The tag that begins every HTML document is and the tag that ends every HTML document is. Q7- A program that allows you to display HTML documents on your computer screen is a browser. Q6- To use an applet within an HTML document, you include the name of the. Q5- Java applications and Java applets are simular because both are compiled using the javac command. Q4- When you write a Java applet, you save the code with the. Q3- HTML stands for HyperText Markup Language.Ī Web browser is a program that allows you to display HTML documents on your computer screen such documents often contain Java applets.
Q2- Appletviewer comes with the Java Developer's Kit.Īn applet must be called from within an HTML (Hypertext Markup Language) document. Q1- Applets are called from within another application. You run applets within a Web page, or within another program called appletviewer, which comes with the Java Developer's Kit. COP2800 : Java Programming Chapter 6 Applet Section A: HTML and Applet BasicĪpplets are programs that are called from within another application.