Computer Dictionary | Javascripts | Search Engines | SEO | Text Link Guide | Web Design
Internet Marketing Tools | Ecommerce Software | Michael Wong | Sponsored Links | Help
 
Web HTML-HTML.com
You are here: HTML

Applets

Contents

<APPLET ...>
<APP ...>
<PARAM ...> Parameter
<APPLET ...> >>>
An applet is a miniature program that you embed right into your web page. Applets themselves are not written in HTML... they are separate programs written in a language called Java. Placing an applet in your page is like putting a little window in the middle of the page, and one of these Java programs is running in that window. You don't need a special web server to put applets in your web page... you can use the same server that serves your web pages.

If you are familiar with putting pictures in your web page, you will probably find that putting applets in your page is very similar (though not identical). The applet program (called a "class" file) is a separate file from your HTML file. You use the tags <APPLET ...> and <PARAM ...> to place the applet into your web page, much the same way you use <IMG ...> to place a picture in your page .

<APPLET ...> calls the applet, <PARAM ...> gives details on how to run the applet (called parameters). Anything else inside the <APPLET ...> tag is ignored, so that's where you put information for browsers that don't understand applets.

For example, this HTML code calls an applet called "MyApplet", and tellsMyApplet to display the words "Hi there":

this code produces this
<APPLET CODE="MyApplet.class" WIDTH=200 HEIGHT=50>
<PARAM NAME=TEXT VALUE="Hi there">
<P>Hi there!<P>
</APPLET>

Hi there!

Here's what each piece means:

<APPLET CODE="MyApplet.class" WIDTH=200 HEIGHT=50>
Run the applet "MyApplet.class". The area for the applet should be 200 x 50.

<PARAM NAME=TEXT VALUE="Hi there">
Pass this information to the applet: the text (NAME=TEXT) should be "Hi there" (VALUE="Hi there")

<P>Hi there<P>
This is what is displayed in browsers that don't understand applets.

</APPLET>
End of the code to run this applet.

The HTML for putting applets into a page is very standardized: you only need to learn a few tags and attributes. However, each applet has its own set of parameters which are used to make it run. Since every applet is different, you need to know what parameters to use for each applet. For example, the MyApplet applet requires you to use the TEXT parameter, but that's just MyApplet; most applets have no such parameter. To learn how to use each applet, consult the documentation for that applet.

<APPLET ...> >>>

          

What's New?

'Social Bookmarking 101' in Link Building Software
'Advanced Web Ranking' & 'SEO Image' in Search Engine Rankings
'LotusJump' & 'SheerSEO' in SEO Software
'Revenue Surge' in UpSell
'MemberSpeed' in Membership Software
 

Top 5 Best Sellers

1.Text Links Ads - Buy & sell text links
2.Perry MarshallHot! - Google AdWords ebooks, courses, coaching & consulting
3.Internet Business Promoter - SEO, submission, ranking & link building software
4.Site Build It! - All-in-one site building, hosting & marketing system
5.SEO EliteHot! - Big collection of SEO & traffic generating tools
 

My Other Sites

GoDefy Marketing Software - Compare 100s of web marketing products & services
Jumbo Keyword Tool - 70+ 1-Click AdWords keyword editing functions
Internet Marketing Blog - AdWords, SEO, affiliate marketing, etc.
 

Free Marketing Tools

1.Search Engine Rankings
2.AdWords Wrapper
3.Keywords (Top 500 updated daily)
4.Link Popularity Check
5.Marketing Tips
 

Copyright © 2002-9 Art Dacor USA LLC. All Rights Reserved.
3727 West Magnolia Blvd #489, Burbank, CA, 91505, USA.
www.HTML-HTML.com