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.

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 inWeb. It is used to enhanceHTMLpages and can usually be embedded inHTMLcode.JavaScriptis 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, createcookies, detect the user's browser, etc.

2.HTMLpages 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.Javascriptis the languageWebdevelopers use to provide this type of interaction. SinceJavaScriptworks onHTMLpages, developers need to understandHTMLto get the most out of this scripting language. While there are other languages available for writing scripts on theWeb, in reality it's basically all Javascript.

JavaScriptinHTMLfiles. The first method involves embedding all theJavaScriptcode within theHTMLcode, while the second method uses a separateJavaScript called from theScriptelementfile, that is, contained by theScripttag.JavaScriptfiles are identified by the.jsextension.
##4. Although
is mainly used to interact withHTMLobjects, it can also interact with other non-HTMLObjects to interact with, such as browser plug-ins,CSS(Cascading Style Sheets) properties, the current date, or the browser itself. To writeJavaScriptcode, you only need a basic text editor, such as Notepad inWindows,GimpinLinuxOrBBEdit. Some text editors, such asBBEdit, provide syntax highlighting forJavaScript. This will allow you to easily identify elements of theJavaScriptcode.
Recommended learning:
The above is the detailed content of what does js mean. For more information, please follow other related articles on the PHP Chinese website!