What is the meaning of ecmascript in html

青灯夜游
Release: 2022-01-28 11:11:40
Original
2095 people have browsed it

In HTML, ecmascript refers to a standardized specification of a scripting language, an object-based programming language that can perform calculations in a host environment and operate computational objects, used to support Web pages Dynamic performance; JavaScript is an implementation of the ECMAScript specification.

What is the meaning of ecmascript in html

The operating environment of this tutorial: Windows 7 system, ECMAScript version 6, Dell G3 computer.

ECMAScript is a scripting programming language standardized by Ecma International (formerly the European Computer Manufacturers Association) through ECMA-262.

ECMAScript is a standardized specification for a scripting language developed by Brendan Edge of Netscape; originally named Mocha, later renamed LiveScript, and finally renamed JavaScript. In December 1995, Sun and Netscape jointly released JavaScript. In November 1996, Netscape submitted JavaScript to the European Computer Manufacturers Association for standardization. The first version of ECMA-262 was adopted by the Ecma organization in June 1997. ECMA Script is the name of the ECMA-262 standardized scripting language. Although JavaScript and JScript are compatible with ECMAScript, they contain functionality beyond ECMAScript.

ECMAScript is an object-based programming language that can perform calculations in a host environment and manipulate computable objects. ECMAScript was first designed as a Web scripting language to support the dynamic presentation of Web pages and provide server-side computing capabilities for Web-based client-server architectures. But as a scripting language, ECMAScript has the same nature as other scripting languages, that is, "used to manipulate, customize, and automate the functions provided by an existing system."

The ECMAScript specification defines what a scripting language implementation should contain, but, because it is extensible, the functionality provided by its implementation may vary greatly from this minimal set. ECMAScript itself is not a scripting language. Just as a collection of beans that perform useful operations in a Web application (for example, Netscape's AWT) is an implementation of Sun's JavaBean specification, JavaScript is an implementation of the ECMAScript specification.

The relationship between JavaScript and ECMAScript

ECMAScript ("ES" for short) is a universal scripting language implemented according to the ECMA-262 standard. The ECMA-262 standard mainly stipulates this It contains the syntax, types, statements, keywords, reserved words, operators, objects and other parts of the language. The latest version of ECMAScript is currently ECMAScript6 (referred to as "ES6").

As for JavaScript, sometimes people regard JavaScript and ECMAScript as the same. In fact, this is not the case. JavaScript contains much more content than what is specified in ECMA-262. Complete JavaScript is composed of the following three It consists of three parts:

  • Core (ECMAScript): Provides the syntax and basic objects of the language;

  • Document Object Model (DOM): Provides processing Methods and interfaces for web content;

  • Browser Object Model (BOM): Provides methods and interfaces for interacting with the browser.

[Related recommendations: javascript learning tutorial]

The above is the detailed content of What is the meaning of ecmascript in html. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template