Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: Java, Web
Expertise: Beginner
Sep 4, 1998



Building the Right Environment to Support AI, Machine Learning and Deep Learning

What to Tell Browsers that Don't Support Java

If you're not careful about how you include Java applets in your Web pages, people who use browsers that don't support Java (or who have deliberately switched off Java support) will see nothing where the applet should have been. Be polite and offer non-Java clients an explanation by including alternative HTML code inside the <APPLET> </APPLET> tag pair. For example, you could tell them what they're missing out on:
<APPLET CODE=MyApplet.class WIDTH=200 HEIGHT=100>
Sorry, your browser couldn't run the Java applet that would
 normally appear here.
This is because your browser doesn't support Java applets or because its Java support has been switched off. </FONT> </CENTER> </APPLET>
Martin Kelly
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date