Home  >  Article  >  Web Front-end  >  What is js in html

What is js in html

青灯夜游
青灯夜游Original
2021-07-01 13:57:338433browse

In HTML, the full name of js is JavaScript. It is a programming language for the Web. It is a scripting language for the Internet. It is widely used in Web application development and is often used to add various dynamic functions to web pages. , providing users with a smoother and more beautiful browsing effect.

What is js in html

The operating environment of this tutorial: windows7 system, HTML5&&javascript version 1.8.5, Dell G3 computer.

The full name of JS is JavaScript. It is an advanced, interpreted, literal scripting language. It is a prototype-based, function-first language. It is a multi-paradigm language. It supports object-oriented programming, command programming, and functional programming.

JavaScript is a web-oriented programming language that is supported by all web browsers. It is one of the most widely used script programming languages ​​and is also a basic tool that must be mastered for web design and web applications.

JavaScript is a network scripting language that has been widely used in Web application development. It is often used to add various dynamic functions to web pages to provide users with smoother and more beautiful browsing effects. Since the emergence of Node.js technology, server-side programming can also be performed based on Node.js technology.

JavaScript is commonly used to complete the following tasks:

1. Embed dynamic text in HTML pages

2. Respond to browser events

3. Read and write HTML elements

4. Verify the data before it is submitted to the server

5. Detect the visitor’s browser information

6. Control cookies , including creation and modification, etc.

7. Server-side programming based on Node.js technology.

Extended knowledge: JavaScript history

In February 1995, Netscape released the Netscape Navigator 2 browser and provided a development tool for free in this browser— —LiveScript. Because Java was more popular at the time, Netscape renamed LiveScript to JavaScript, which was also the original JavaScript 1.0 version.

Due to the popularity of JavaScript 1.0, Netscape released JavaScript 1.1 in Netscape Navigator 3. Soon, Microsoft also added scripting capabilities to Internet Explorer 3. To avoid any dispute with Netscape's JavaScript, Microsoft named it JScript.

In 1997, the European Computer Manufacturers Association (ECMA) developed a scripting language standard - ECMA-262 based on JavaScript 1.1, and named it ECMAScript.

In 1998, the International Organization for Standardization and the International Electrotechnical Commission (ISO/IEC) adopted the ECMAScript standard (i.e., ISO/IEC-16262). Since then, browser manufacturers have used ECMAScript as the standard for their respective JavaScript implementations. JavaScript has officially moved from fragmentation to standardization.

[Related recommendations: javascript learning tutorial]

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

Statement:
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
Previous article:How to connect html to jsNext article:How to connect html to js