Home >Web Front-end >JS Tutorial >What does javascript mean?
What does javascript mean? What is the use? I believe that many students may have this question, so today PHP Chinese Network will tell you about the concept of JavaScript and the uses of JavaScript.
#What does javascript mean?
From Baidu Encyclopedia, we can find that JavaScript is a literal scripting language. It is a dynamically typed, weakly typed, prototype-based language with built-in support for types. Its interpreter is called the JavaScript engine, which is part of the browser and is widely used in client-side scripting languages. It was first used on HTML (an application under Standard Universal Markup Language) web pages to add dynamic functions to HTML web pages. .
In fact, to put it bluntly, JavaScript is a scripting language that is often used in web client programming to enable web pages to implement more dynamic functions and show richer visual effects in the client browser.
Javascript consists of three parts:
ECMAScript: describes the syntax and basic objects of the language;
Document Object Model (DOM)): describes Methods and interfaces for processing web content;
Browser Object Model (BOM): describes the methods and interfaces for interacting with the browser.
After we have a general understanding of what javascript is, let’s continue to look at what javascript is used for?
What is the use of javascript?
1. We have mentioned the definition of javascript above. Then, from the definition of javascript, we clearly know that javascript can be used to achieve special effects on web pages, including animation and interaction. ;Such as displaying the current system time and displaying real-time information updates, these can be easily implemented through javascript.
2. JavaScript is now the most common browser program. When the browser executes JavaScript, it can achieve the following functions:
Make the web page more interactive and provide users with a better experience for the site. Provide a better and more exciting experience;
Animations on web pages, such as image carousels;
Data communication between the browser and the server, such as the most popular Ajax asynchronous transmission ;
Of course, JavaScript is used in many places, such as:
JavaScript allows you to create active user interfaces that provide feedback to users as they navigate between pages.
Use JavaScript to ensure users enter valid information into forms, which can save your business time and expense.
Using JavaScript, customized HTML pages can be created based on user operations.
JavaScript can also handle forms, set cookies, build HTML pages on the fly, and create web-based applications.
In fact, many of the uses of javascript mentioned above are similar. In the process of learning, when you do more pages, you will naturally understand the uses of javascript. Here I recommend to you the javascript video learning column on the PHP Chinese website. There are many javascript videos to learn, from basic to advanced to practical.
Related recommendations:
What does Javascript:void(0) mean and how to use it in JavaScript?
What is MEAN? What does MEAN mean in JavaScript programming? _node.js
The above is the detailed content of What does javascript mean?. For more information, please follow other related articles on the PHP Chinese website!