Wmlscript example validating form data
Netscape Communications realized that the Web needed to become more dynamic.
Marc Andreessen, the founder of the company believed that HTML needed a "glue language" that was easy to use by Web designers and part-time programmers to assemble components such as images and plugins, where the code could be written directly in the Web page markup.
It is used to make webpages interactive and provide online programs, including video games.
Before he could get started, Netscape Communications collaborated with Sun Microsystems to include in Netscape Navigator Sun's more static programming language Java, in order to compete with Microsoft for user adoption of Web technologies and platforms.Netscape Communications then decided that the scripting language they wanted to create would complement Java and should have a similar syntax, which excluded adopting other languages such as Perl, Python, TCL, or Scheme.To defend the idea of Java Script against competing proposals, the company needed a prototype. Although it was developed under the name Mocha, the language was officially called Live Script when it first shipped in beta releases of Netscape Navigator 2.0 in September 1995, but it was renamed Java Script as a marketing ploy by Netscape to give Java Script the cachet of what was then the hot new Web programming language.Internet Explorer 3 also included Microsoft's first support for CSS and various extensions to HTML, but in each case the implementation was noticeably different to that found in Netscape Navigator at the time.These differences made it difficult for designers and programmers to make a single website work well in both browsers, leading to the use of "best viewed in Netscape" and "best viewed in Internet Explorer" logos that characterized these early years of the browser wars.
Java Script began to acquire a reputation for being one of the roadblocks to a cross-platform and standards-driven Web.