answersLogoWhite

0


Best Answer

It all depends. Sometimes it could be the <frame> tag. Sometimes the <object> and <param> tags. Sometimes the <embed> tag

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What tags are mandatory when creating HTML to display an applet?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Coding for creating HTML editor using java applet?

&lt;html&gt; &lt;body&gt; java applets&lt;/body&gt;&lt;/html&gt;


Write a program to create an applet with red back ground and display the message welcome to the world of applets write its HTML document also specify width and height to the applet?

import java.applet.Applet; import java.awt.Graphics; @SuppressWarnings("serial") public class AppletTest extends Applet { public void paint (Graphics g) { g.drawString("WELCOME TO THE WORLD OF APPLETS", 100, 25); setBackground(java.awt.Color.RED); } } &lt;HTML&gt; &lt;HEAD&gt; &lt;TITLE&gt; AppletTest&lt;/TITLE&gt; &lt;BODY&gt; &lt;CENTER&gt; &lt;APPLET CODE = "AppletTest.class" WIDTH = 400 HEIGHT = 100 &lt;/APPLET&gt; &lt;/CENTER&gt; &lt;/BODY&gt; &lt;/HEAD&gt; &lt;HTML&gt;


Can an applet be run even without a HTML file?

Yes. We have an applet viewer that can help us view applets without a web browser and a HTML file


How is an applet started by a browser?

Once you have made the applet, you need to make an HTML file to launch the applet. Search google for examples, it's only about 3 lines of code


How do you run applet program?

By Embedding it into a HTML page, create a new file with the extension .html (like app.html) insert following code: No Java 2 SDK, Standard Edition v 1.4.2 support for APPLET!! Adjust the code for your applet file (can't help there i am not a java programmer) or just use : No Java 2 SDK, Standard Edition v 1.4.2 support for APPLET!! but i recommend the first because the applet tag is deprecated and not supported in XHTML

Related questions

Coding for creating HTML editor using java applet?

&lt;html&gt; &lt;body&gt; java applets&lt;/body&gt;&lt;/html&gt;


Write a program to create an applet with red back ground and display the message welcome to the world of applets write its HTML document also specify width and height to the applet?

import java.applet.Applet; import java.awt.Graphics; @SuppressWarnings("serial") public class AppletTest extends Applet { public void paint (Graphics g) { g.drawString("WELCOME TO THE WORLD OF APPLETS", 100, 25); setBackground(java.awt.Color.RED); } } &lt;HTML&gt; &lt;HEAD&gt; &lt;TITLE&gt; AppletTest&lt;/TITLE&gt; &lt;BODY&gt; &lt;CENTER&gt; &lt;APPLET CODE = "AppletTest.class" WIDTH = 400 HEIGHT = 100 &lt;/APPLET&gt; &lt;/CENTER&gt; &lt;/BODY&gt; &lt;/HEAD&gt; &lt;HTML&gt;


What are steps involved in loading and running remote applets?

1.create applet code 2.create executable code 3.adding html tag 5.preparing applet tag 5.adding html tag and applet tag 6.Testing applet code and html code s.Gunasekaran AP/CSe


Can an applet be run even without a HTML file?

Yes. We have an applet viewer that can help us view applets without a web browser and a HTML file


How is an applet started by a browser?

Once you have made the applet, you need to make an HTML file to launch the applet. Search google for examples, it's only about 3 lines of code


Do HTML pages have to be created in some type of software application specifically designed for that purpose?

No, not really. You can even use a simple text pad or a notepad to create HTML pages. Using IDE's (Integrated Development Environments) for creating HTML pages actually quickens/simplifies the process of creating HTML pages but it is not a mandatory requirement.


Why you need of HTML creating a website?

HTML or Hypertext Markup Language is a system used to display a page of content which includes text, colours, graphics and fonts. You need to use HTML because, all modern browsers are looking for that coding to display your webpages in a standard format.


How do you run applet program?

By Embedding it into a HTML page, create a new file with the extension .html (like app.html) insert following code: No Java 2 SDK, Standard Edition v 1.4.2 support for APPLET!! Adjust the code for your applet file (can't help there i am not a java programmer) or just use : No Java 2 SDK, Standard Edition v 1.4.2 support for APPLET!! but i recommend the first because the applet tag is deprecated and not supported in XHTML


What are deprecated tags in HTML?

* &lt;applet&gt; * &lt;basefont /&gt; * &lt;center&gt; * &lt;dir&gt; * &lt;isindex&gt; * &lt;menu&gt; * &lt;s&gt; * &lt;strike&gt; * &lt;xmp&gt;


How do you run java source code on a website?

http://powderurmonkey.com/forums/showthread.php?p=3#post3


Why use HTML codes?

You use HTML codes to tell the browser how to display your content. For example, if you want to display THIS in bold, you would send the following HTML code to the browser: THIS .


How do you write HTML Code?

You write in HTML by using a variety of codes such as &lt;HTML&gt;&lt;B&gt;&lt;BR&gt;&lt;UL&gt;&lt;Color&gt; ect, to tell the internet browser what to display, HTML coding is a way of getting the browser to display what you want it to, and where you want it to be placed.