• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Applets and HTML  RSS feed

 
Taj Kore
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Okay I have a couple questions.


Why does an Applet need an HTML file?

What are the types of programs that use HTML files (meaning are Applets the only ones that need them?)?

Is learning how to write up with HTML as challenging as learning a completely new programming language?
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An applet is an element of a web page, as I'm sure you have found out. So without an HTML page containing an applet tag, there is no applet.

There is also another kind of Java code -called a JavaWebStart app- that uses HTML, but only as a means of starting the app. It then runs outside of any HTML page.

Like so much else in the Java world, this is covered in Oracle's Java Tutorial, at http://docs.oracle.com/javase/tutorial/deployment/webstart/index.html and http://docs.oracle.com/javase/tutorial/deployment/applet/index.html

HTML by itself isn't hard to get started with. Searching for "HTML introduction" or some such phrase will find relevant tutorials that will help you.
 
Taj Kore
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Okay. Thanks for the reply. I read through all those tutorials before I posted on CodeRanch, but it didn't click at that point. I learn very quickly with Bulletin Boards for some reason.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!