Home  >  Article  >  Web Front-end  >  what does js mean

what does js mean

奋力向前
奋力向前Original
2021-09-17 12:11:14160999browse

The full name of JS is JavaScript. It is a lightweight, interpreted or just-in-time compiled programming language with function priority; it is a high-level scripting language belonging to the network, mainly used for the Web, and is often used for Add a variety of dynamic features to web pages.

what does js mean

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

1. Javascript (JS) is a scripting language, mainly used in Web. It is used to enhance HTML pages and can usually be embedded in HTML code. JavaScript is an interpreted language. Therefore, it does not require compilation. JavaScriptRender web pages interactively and dynamically. This allows the page to react to events, display special effects, accept variable text, validate data, create cookies, detect the user's browser, etc.

what does js mean

2. HTML pages are suitable for displaying static content, such as simple images or text. However, most pages these days are rarely static. Many pages today have menus, forms, slideshows and even images that provide user interaction. Javascript is the language Web developers use to provide this type of interaction. Since JavaScript works on HTML pages, developers need to understand HTML to get the most out of this scripting language. While there are other languages ​​available for writing scripts on the Web, in reality it's basically all Javascript.

what does js mean

3. There are two ways to use

JavaScript in HTML files. The first method involves embedding all the JavaScript code within the HTML code, while the second method uses a separate JavaScript called from the Script element file, that is, contained by the Script tag. JavaScript files are identified by the .js extension.

what does js mean##4. Although

JavaScript

is mainly used to interact with HTML objects, it can also interact with other non-HTML Objects to interact with, such as browser plug-ins, CSS (Cascading Style Sheets) properties, the current date, or the browser itself. To write JavaScript code, you only need a basic text editor, such as Notepad in Windows, Gimp in Linux Or BBEdit. Some text editors, such as BBEdit, provide syntax highlighting for JavaScript. This will allow you to easily identify elements of the JavaScript code.

what does js mean Recommended learning:

JS video tutorial

The above is the detailed content of what does js mean. 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