Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Anonymous
Anonymous asked in Computers & InternetOther - Computers · 1 decade ago

What is the difference between java and html and which of them is easy to learn.Thanks in advance.?

4 Answers

Relevance
  • 1 decade ago
    Favorite Answer

    To tell u the difference, first tell me the similarity between two. These two are different from each other,

    Java is a full fledged object oriented programming language, whereas html is only a markup language.

    We embedd one or two tags <applet> of html into our java applets as they run in a web browser.

    Html just gives u a constant page and u cant do much without the help of scripting, dhtml and serverside scripting like asp/jsp.

    Html is very easy to learn. I am not saying java is difficult but it is good if u know c++ in advance, as java follows lot of syntax similarity with c++.

  • 5 years ago

    I wouldn't call HTML programming, but back to your quesiton. HTML is for coding web pages and is completely different to C++ and Java. All 3 work on all operating systems (certainly not just windows), but Java is basically the same on all platforms, where C++ may require some minor changes unless your using some heavily Operating System (windows/mac/linux) libraries. C++ is more low-level then Java, which means it is faster than Java, but it will take you longer to write programs. This is because Java does a lot of work for you in the background which slows it down but saves you time. PHP is a complement to HTML, by that I mean PHP is used to create HTML and is not a replacement to HTML.

  • 1 decade ago

    Java is an application language whereas HTML is a JIT(just-in-time) markup language. Java applets are precompiled to protect their source code while javascripts are formatted much in the same way as HTML. Both are very easy to learn. You can get a wealth of reference info for these and many other web languages at http://www.w3schools.com/

  • To find more information about java and html

    visit http://www.google.com/coop/cse?cx=0070029158176465...

    Source(s): To find more information about java and html visit http://www.google.com/coop/cse?cx=0070029158176465...
Still have questions? Get your answers by asking now.