A Brief History of JavaScript and a brief history of javascript

Source: Internet
Author: User

A Brief History of JavaScript and a brief history of javascript
Brief history of strongswan JavaScript

 

I. Origin of JavaScript

 

JavaScript is developed jointly by Netscape and Sun. Its first version appeared in the Netscape Navigator 2 browser that exited in December 1995.

JavaScript has nothing to do with the Java language. In theory, Java can be deployed in any environment, while JavaScript is a scripting language and only applicable to Web browsers.

JavaScript provides programmers with some means to operate Web browsers.

 

Ii. DOM

 

DOM (Document Object Model): a set of methods to abstract and generalize Document content. It will be detailed later.

 

Iii. browser war

 

To put it bluntly, Each browser has a set of standards for DOM parsing, resulting in different implementations for the same operation or effect in different browsers.

 

1. DHTML

 

DynamicHTML (Dynamic HTML) is a term used to describe the combination of HTML, CSS, and JavaScript technologies. Meanings:

  1. Use HTML to mark webpages as various elements

  2. Use CSS to set element styles and their display locations

  3. Use JavaScript to manipulate pages and change styles in real time.

 

2. Conflicts between browsers

Different browsers support different DOM operations and the same JavaScript script may not be correctly executed in different browsers.

 

Iv. Standards

 

W3C (World Wide Web Consortium) and browser manufacturers specify standardized DOM. DOM is an API. Definition: an interface, program, and script unrelated to the system platform and programming language can dynamically access and modify the content, structure, and style of a document through this interface.

Nowadays, almost all browsers have built-in support for DOM standards to realize the dream of "writing once and running anywhere.

V. Relationships Between DOM, JavaScript, and jQuery

 

DOM (jsonentobject model) is a set of methods to abstract and generalize the content of documents. It is an API provided to manipulate browser content.

All operations performed by JavaScript on webpages are performed by DOM to change the content and method of browser rendering. DOM is the core content defined in the browser rather than the JavaScript language specification.

JQuery is another excellent JavaScript framework after prototype and a JavaScript library.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.