(Translated by https://www.hiragana.jp/)
BBC - Webwise - Ask Bruce - What are Java and Javascript?
The Wayback Machine - https://web.archive.org/web/20090120210905/http://www.bbc.co.uk:80/webwise/askbruce/articles/browse/java_1.shtml
BBC HomeExplore the BBC

20 January 2009
Accessibility help
Text only
Ask Bruce - Instant answers to your Internet questions WebWise

BBC Homepage

WebWise
Guides
Ask Bruce!
Net Comment

Contact Us

Like this page?
Send it to a friend!

 
What are Java and Javascript? Print this article
Clock ticking on worm attack code
Tiny motors may be big in surgery
'Extradition lifeline' for hacker
MoD probes virus security breach
US firm files complaint about IBM
Children's six-hour screen day

Java and Javascript are different things, but both enhance web pages and add extra features which are not possible in normal HTML.

If you 'enable' Javascript in your browser, web designers can use additional tricks to resize the page or add extra functionality.

For example drop down menus, buttons to make navigating websites easier and changing the cursor when you roll over an icon are all tricks done by Javascript.


Java versus Javascript

Because of the similar name, many people (even some programmers) confuse Java with Javascript.

The difference is that Java is a fully fledged programming language whereas Javascript is simply part of a normal web page.

Java allows programmers to make small applications, called applets, which get downloaded along with a web page.

These can be anything from games and interactive maps to currency converters or sound players.

The downside of these applets is that they can take a little time to download and because they are so flexible can be used in harmful ways.

Javascript, on the other hand, is not a separate program from the web page itself. It simply allows designers to perform simple tricks like opening a new window from within the normal code used to generate the page.


How do I enable Javascript?

Many web pages, including some on bbc.co.uk, need you to switch on (or 'enable') Javascript.


Internet Explorer for Windows

Go to the Tools menu in IE and choose Internet Options.

Next click the Security tab.

Make sure the Internet Zone is highlighted and press the Custom Level button to open the security options.

This is page 1 of 2 Next page
The BBC is not responsible for the content of external websites

HTML
- the language web pages are written in.



About the BBC | Help | Terms of Use | Privacy & Cookies Policy
Advertise with us